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

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: 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/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..d28a0b4ee6848502f5489561482e6e3659e6aacc 100644
--- a/ios/web/shell/shell_url_request_context_getter.mm
+++ b/ios/web/shell/shell_url_request_context_getter.mm
@@ -13,7 +13,7 @@
#include "base/memory/ref_counted.h"
#include "base/path_service.h"
#include "base/threading/worker_pool.h"
-#import "ios/net/cookies/cookie_store_ios.h"
+#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 +85,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);

Powered by Google App Engine
This is Rietveld 408576698