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

Unified Diff: ios/web/shell/shell_url_request_context_getter.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/web/shell/shell_url_request_context_getter.mm
diff --git a/ios/web/shell/shell_url_request_context_getter.mm b/ios/web/shell/shell_url_request_context_getter.mm
index 7fa966cf5d05a2c44c79d394f5cfa434443486bb..148e0a4e43ba74aa4cf578f27f2363a159880b55 100644
--- a/ios/web/shell/shell_url_request_context_getter.mm
+++ b/ios/web/shell/shell_url_request_context_getter.mm
@@ -14,6 +14,7 @@
#include "base/path_service.h"
#include "base/threading/worker_pool.h"
#import "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:37 Done.
+#import "ios/net/cookies/cookie_store_ios_persistent.h"
#import "ios/web/public/web_client.h"
#include "ios/web/public/web_thread.h"
#include "ios/web/shell/shell_network_delegate.h"
@@ -85,7 +86,7 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
web::WebThread::GetBlockingPool()->GetSequenceToken()),
true, nullptr);
std::unique_ptr<net::CookieStoreIOS> cookie_store(
- new net::CookieStoreIOS(persistent_store.get()));
+ new net::CookieStoreIOSPersistent(persistent_store.get()));
storage_->set_cookie_store(std::move(cookie_store));
std::string user_agent = web::GetWebClient()->GetUserAgent(false);
« ios/net/cookies/cookie_store_ios_persistent.h ('K') | « ios/net/cookies/cookie_store_ios_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698