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

Unified Diff: ios/web_view/internal/criwv_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_view/internal/criwv_url_request_context_getter.mm
diff --git a/ios/web_view/internal/criwv_url_request_context_getter.mm b/ios/web_view/internal/criwv_url_request_context_getter.mm
index f26690aaf35947d374914b1a6afcd46b5ce1e01b..f34be3d4cd1100bb40c76b9563c14be0dd90a923 100644
--- a/ios/web_view/internal/criwv_url_request_context_getter.mm
+++ b/ios/web_view/internal/criwv_url_request_context_getter.mm
@@ -12,7 +12,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_view/internal/criwv_network_delegate.h"
@@ -78,7 +78,7 @@ net::URLRequestContext* CRIWVURLRequestContextGetter::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.mm ('K') | « ios/web/shell/shell_url_request_context_getter.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698