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

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

Issue 2670213003: Removed CookieStoreIOS::CreateCookieStore as unused. (Closed)
Patch Set: Created 3 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 | « ios/net/cookies/cookie_store_ios.h ('k') | no next file » | 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 fb231140ed3e006115b3921dd3f391a7bd30866f..9d5c944e0426a55e577d8a6c921afe1f9ba28b34 100644
--- a/ios/net/cookies/cookie_store_ios.mm
+++ b/ios/net/cookies/cookie_store_ios.mm
@@ -282,21 +282,6 @@ CookieStoreIOS::~CookieStoreIOS() {
}
// static
-std::unique_ptr<CookieStoreIOS> CookieStoreIOS::CreateCookieStore(
- NSHTTPCookieStorage* cookie_storage) {
- DCHECK(cookie_storage);
- // TODO(huey): Update this when CrNet supports multiple cookie jars.
- [cookie_storage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
-
- // Create a cookie store with no persistent store backing. Then, populate
- // it from the system's cookie jar.
- std::unique_ptr<CookieStoreIOS> cookie_store(
- new CookieStoreIOS(cookie_storage));
- cookie_store->FlushStore(base::Closure());
- return cookie_store;
-}
-
-// static
void CookieStoreIOS::NotifySystemCookiesChanged() {
NotificationTrampoline::GetInstance()->NotifyCookiesChanged();
}
« no previous file with comments | « ios/net/cookies/cookie_store_ios.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698