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

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

Issue 2597933003: [ios] Removed CookieStoreIOS::UnSynchronize. (Closed)
Patch Set: Actually fixed compilation Created 4 years 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 | « ios/net/cookies/cookie_store_ios.h ('k') | ios/net/cookies/cookie_store_ios_unittest.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.mm
diff --git a/ios/net/cookies/cookie_store_ios.mm b/ios/net/cookies/cookie_store_ios.mm
index a6d844cd8d59121fbfadaf42fe317ddcc6c3a402..c34383b99c7f0c8ce05d16d32ce3ed414375552d 100644
--- a/ios/net/cookies/cookie_store_ios.mm
+++ b/ios/net/cookies/cookie_store_ios.mm
@@ -327,24 +327,10 @@ std::unique_ptr<CookieStoreIOS> CookieStoreIOS::CreateCookieStore(
}
// static
-void CookieStoreIOS::SwitchSynchronizedStore(CookieStoreIOS* old_store,
- CookieStoreIOS* new_store) {
- DCHECK(new_store);
- DCHECK_NE(new_store, old_store);
- if (old_store)
- old_store->SetSynchronizedWithSystemStore(false);
- new_store->SetSynchronizedWithSystemStore(true);
-}
-
-// static
void CookieStoreIOS::NotifySystemCookiesChanged() {
NotificationTrampoline::GetInstance()->NotifyCookiesChanged();
}
-void CookieStoreIOS::UnSynchronize() {
- SetSynchronizedWithSystemStore(false);
-}
-
void CookieStoreIOS::SetMetricsEnabled() {
static CookieStoreIOS* g_cookie_store_with_metrics = nullptr;
DCHECK(!g_cookie_store_with_metrics || g_cookie_store_with_metrics == this)
« no previous file with comments | « ios/net/cookies/cookie_store_ios.h ('k') | ios/net/cookies/cookie_store_ios_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698