Chromium Code Reviews| 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); |