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

Unified Diff: ios/chrome/browser/net/cookie_util.mm

Issue 2649083002: Divide CookieStoreIOS into two different classes with different backends (Closed)
Patch Set: Eugene's comments 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
Index: ios/chrome/browser/net/cookie_util.mm
diff --git a/ios/chrome/browser/net/cookie_util.mm b/ios/chrome/browser/net/cookie_util.mm
index 424a107a319deab94c3899814e6284cda6257977..4fe83023d23735cdf56047047aac6f0ba40e63ca 100644
--- a/ios/chrome/browser/net/cookie_util.mm
+++ b/ios/chrome/browser/net/cookie_util.mm
@@ -14,6 +14,7 @@
#include "base/memory/ref_counted.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/net/cookies/cookie_store_ios.h"
Eugene But (OOO till 7-30) 2017/01/24 22:31:30 nit: do we still need this include?
maksims (do not use this acc) 2017/01/27 12:46:36 Done.
+#include "ios/net/cookies/cookie_store_ios_persistent.h"
#include "ios/web/public/web_thread.h"
#include "net/cookies/cookie_monster.h"
#include "net/cookies/cookie_store.h"
@@ -96,7 +97,8 @@ std::unique_ptr<net::CookieStore> CreateCookieStore(
config.path, true /* restore_old_session_cookies */,
config.crypto_delegate);
}
- return base::MakeUnique<net::CookieStoreIOS>(persistent_store.get());
+ return base::MakeUnique<net::CookieStoreIOSPersistent>(
+ persistent_store.get());
}
bool ShouldClearSessionCookies() {

Powered by Google App Engine
This is Rietveld 408576698