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

Unified Diff: ios/crnet/crnet_environment.mm

Issue 2649083002: Divide CookieStoreIOS into two different classes with different backends (Closed)
Patch Set: fix compilation 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/crnet/crnet_environment.mm
diff --git a/ios/crnet/crnet_environment.mm b/ios/crnet/crnet_environment.mm
index 1c0ed42c348e758c2925867ae1a665905d728a51..94572a26c13887aa45f709be1acae02135c6c0eb 100644
--- a/ios/crnet/crnet_environment.mm
+++ b/ios/crnet/crnet_environment.mm
@@ -477,7 +477,7 @@ void CrNetEnvironment::InitializeOnNetworkThread() {
main_context_->set_http_transaction_factory(main_cache);
// Cookies
- cookie_store_ = net::CookieStoreIOS::CreateCookieStore(
+ cookie_store_ = base::MakeUnique<CookieStoreIOS>(
[NSHTTPCookieStorage sharedHTTPCookieStorage]);
main_context_->set_cookie_store(cookie_store_.get());

Powered by Google App Engine
This is Rietveld 408576698