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

Unified Diff: ios/crnet/crnet_environment.mm

Issue 1428673003: Injecting an NSHTTPCookieStorage dependency into CookieStoreIOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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.h » ('j') | ios/net/cookies/cookie_store_ios.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/crnet_environment.mm
diff --git a/ios/crnet/crnet_environment.mm b/ios/crnet/crnet_environment.mm
index 2baf8419f6c89017f6e2afc3749702110fb2c3de..e281a7f1ecac5ad2966ca376081f062386b0dd1e 100644
--- a/ios/crnet/crnet_environment.mm
+++ b/ios/crnet/crnet_environment.mm
@@ -462,7 +462,8 @@ void CrNetEnvironment::InitializeOnNetworkThread() {
// Cookies
scoped_refptr<net::CookieStore> cookie_store =
- net::CookieStoreIOS::CreateCookieStoreFromNSHTTPCookieStorage();
+ net::CookieStoreIOS::CreateCookieStore(
+ [NSHTTPCookieStorage sharedHTTPCookieStorage]);
main_context_->set_cookie_store(cookie_store.get());
net::URLRequestJobFactoryImpl* job_factory =
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.h » ('j') | ios/net/cookies/cookie_store_ios.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698