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

Unified Diff: ios/net/cookies/cookie_store_ios.h

Issue 1616443003: Add FlushStore to CookieStore interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cookie_monster3
Patch Set: fix old comment Created 4 years, 11 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 | « chrome/browser/android/chrome_application.cc ('k') | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/net/cookies/cookie_store_ios.h
diff --git a/ios/net/cookies/cookie_store_ios.h b/ios/net/cookies/cookie_store_ios.h
index 24fddc910f33f3c2a4a62dece115fc84721318cc..79b54824226fddb73cf56456c746a3cbd849b85c 100644
--- a/ios/net/cookies/cookie_store_ios.h
+++ b/ios/net/cookies/cookie_store_ios.h
@@ -103,10 +103,6 @@ class CookieStoreIOS : public net::CookieStore,
// |NSHTTPCookieStorage sharedHTTPCookieStorage|.
static void NotifySystemCookiesChanged();
- // Saves the cookies to the cookie monster.
- // Note: ignores the write cookie operation if |write_on_flush_| is false.
- void Flush(const base::Closure& callback);
-
// Unsynchronizes the cookie store if it is currently synchronized.
void UnSynchronize();
@@ -141,6 +137,7 @@ class CookieStoreIOS : public net::CookieStore,
const GURL& url,
const DeleteCallback& callback) override;
void DeleteSessionCookiesAsync(const DeleteCallback& callback) override;
+ void FlushStore(const base::Closure& callback) override;
scoped_ptr<CookieChangedSubscription> AddCallbackForCookie(
const GURL& url,
« no previous file with comments | « chrome/browser/android/chrome_application.cc ('k') | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698