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

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

Issue 2603403002: [ios] Removed CookieStoreIOS::SetSynchronizedWithSystemStore. (Closed)
Patch Set: Removed g_current_synchronized_store Created 3 years, 12 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 | 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 2870bdeed2c95c2c8f3d0a22a9a7e17763a05fc5..6108ee1c3b2676ba480b00beac150b9a69d6c0ae 100644
--- a/ios/net/cookies/cookie_store_ios.h
+++ b/ios/net/cookies/cookie_store_ios.h
@@ -136,13 +136,6 @@ class CookieStoreIOS : public net::CookieStore,
bool IsEphemeral() override;
- // Changes the synchronization of the store.
- // If |synchronized| is true, then the system cookie store is used as a
- // backend, else |cookie_monster_| is used. Cookies are moved from one to
- // the other accordingly.
- // TODO(crbug.com/676144): Remove this method. It is used only in tests.
- void SetSynchronizedWithSystemStore(bool synchronized);
-
private:
CookieStoreIOS(
net::CookieMonster::PersistentCookieStore* persistent_store,
@@ -167,13 +160,9 @@ class CookieStoreIOS : public net::CookieStore,
// Returns true if the system cookie store policy is
// |NSHTTPCookieAcceptPolicyAlways|.
bool SystemCookiesAllowed();
- // Converts |cookies| to NSHTTPCookie and add them to the system store.
- void AddCookiesToSystemStore(const net::CookieList& cookies);
// Copies the cookies to the backing CookieMonster. If the cookie store is not
// synchronized with the system store, this is a no-op.
void WriteToCookieMonster(NSArray* system_cookies);
- // Runs all the pending tasks.
- void RunAllPendingTasks();
// Inherited CookieNotificationObserver methods.
void OnSystemCookiesChanged() override;
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698