Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: net/cookies/cookie_monster.h

Issue 9959011: Add CookieStore::DeleteSessionCookiesAsync method. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased again Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/cookies/cookie_monster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_monster.h
diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h
index f6485665983e9acfd36927926d3c049c39dff346..1eced597bf6e852660dd8a55e8b5bfa4d9314f31 100644
--- a/net/cookies/cookie_monster.h
+++ b/net/cookies/cookie_monster.h
@@ -246,6 +246,8 @@ class NET_EXPORT CookieMonster : public CookieStore {
const base::Time& delete_end,
const DeleteCallback& callback) OVERRIDE;
+ virtual void DeleteSessionCookiesAsync(const DeleteCallback&) OVERRIDE;
+
virtual CookieMonster* GetCookieMonster() OVERRIDE;
// Enables writing session cookies into the cookie database. If this this
@@ -281,6 +283,7 @@ class NET_EXPORT CookieMonster : public CookieStore {
class GetCookiesWithInfoTask;
class SetCookieWithDetailsTask;
class SetCookieWithOptionsTask;
+ class DeleteSessionCookiesTask;
// Testing support.
// For SetCookieWithCreationTime.
@@ -412,6 +415,8 @@ class NET_EXPORT CookieMonster : public CookieStore {
const std::string& cookie_line,
const base::Time& creation_time);
+ int DeleteSessionCookies();
+
// Called by all non-static functions to ensure that the cookies store has
// been initialized. This is not done during creating so it doesn't block
// the window showing.
« no previous file with comments | « no previous file | net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698