| 234 | } |
| 235 | |
| 236 | bool CookieManager::RecursivelyDeleteCookie(const std::string& url, |
| 237 | const BrowserCookie& cookie) { |
| 238 | // TODO: Optimize this path from the recursive to only |
| 239 | // call setting the cookie as often as needed. |
| 240 | BrowserCookie recursive_cookie = cookie.Copy(); |
| 241 | recursive_cookie.set_domain("." + cookie.domain()); |
| 242 | return this->RecurseCookiePath(url, recursive_cookie); |
| 243 | } |
| 244 | |
| 245 | bool CookieManager::RecurseCookiePath(const std::string& url, |
| 246 | const BrowserCookie& cookie) { |
no test coverage detected