From 44d6da87c14860edf8350b4af5d66a3cf59dfda5 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Wed, 24 Mar 2010 18:45:45 +0000 Subject: Revert r42467: "Clear cookies, local storage and databases when an extension gets uninstalled." It introduced a memory leak, causing a regression on valgrind test: unit. TBR=jochen Review URL: http://codereview.chromium.org/1295001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42499 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/cookie_monster.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'net/base/cookie_monster.h') diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h index a48c2d3..ccdae0b 100644 --- a/net/base/cookie_monster.h +++ b/net/base/cookie_monster.h @@ -112,9 +112,6 @@ 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 one specific cookie. bool DeleteCookie(const std::string& domain, const CanonicalCookie& cookie, @@ -179,10 +176,6 @@ class CookieMonster : public CookieStore { const std::string& path, CookieList* list); - // Internal helper returning all cookies for a given URL. The caller is - // assumed to hold lock_ and having called InitIfNecessary(). - CookieList InternalGetAllCookiesForURL(const GURL& url); - // Delete any cookies that are equivalent to |ecc| (same path, key, etc). // If |skip_httponly| is true, httponly cookies will not be deleted. The // return value with be true if |skip_httponly| skipped an httponly cookie. -- cgit v1.1