diff options
Diffstat (limited to 'net/base/cookie_monster.h')
-rw-r--r-- | net/base/cookie_monster.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h index 43943a0..eadc59a 100644 --- a/net/base/cookie_monster.h +++ b/net/base/cookie_monster.h @@ -138,8 +138,11 @@ class CookieMonster : public CookieStore { // one passed into the function via |delete_after|. int DeleteAllCreatedAfter(const base::Time& delete_begin, bool sync_to_store); - // Delete all cookies that match the given URL. - int DeleteAllForURL(const GURL& url, bool sync_to_store); + // Delete all cookies that match the host of the given URL + // regardless of path. This includes all http_only and secure cookies, + // but does not include any domain cookies that may apply to this host. + // Returns the number of cookies deleted. + int DeleteAllForHost(const GURL& url); // Delete one specific cookie. bool DeleteCookie(const std::string& domain, |