Index: net/base/cookie_monster.h |
diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h |
index 43943a02261b084114a80067f28630b4f05d4b83..eadc59a840c7a22bccaed033e93fcdabeb0f10a9 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, |