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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 1405463006: Componentize CookieOSCryptoDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding OWNERS 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 | « chrome/browser/profiles/DEPS ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 0ad1af73d60fc20bc130d1861104d2b9c797c8ac..e0ca85f14c8d5e02ee1b9943e842b3bbee939ba5 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -29,7 +29,6 @@
#include "chrome/browser/io_thread.h"
#include "chrome/browser/net/chrome_network_delegate.h"
#include "chrome/browser/net/connect_interceptor.h"
-#include "chrome/browser/net/cookie_store_util.h"
#include "chrome/browser/net/http_server_properties_manager_factory.h"
#include "chrome/browser/net/predictor.h"
#include "chrome/browser/net/quota_policy_channel_id_store.h"
@@ -41,6 +40,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
+#include "components/cookie_config/cookie_store_util.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h"
#include "components/data_reduction_proxy/core/browser/data_store_impl.h"
@@ -513,8 +513,7 @@ void ProfileImplIOData::InitializeInternal(
lazy_params_->session_cookie_mode,
lazy_params_->special_storage_policy.get(),
profile_params->cookie_monster_delegate.get());
- cookie_config.crypto_delegate =
- chrome_browser_net::GetCookieCryptoDelegate();
+ cookie_config.crypto_delegate = cookie_config::GetCookieCryptoDelegate();
cookie_store = content::CreateCookieStore(cookie_config);
}
@@ -616,8 +615,7 @@ void ProfileImplIOData::
lazy_params_->extensions_cookie_path,
lazy_params_->session_cookie_mode,
NULL, NULL);
- cookie_config.crypto_delegate =
- chrome_browser_net::GetCookieCryptoDelegate();
+ cookie_config.crypto_delegate = cookie_config::GetCookieCryptoDelegate();
net::CookieStore* extensions_cookie_store =
content::CreateCookieStore(cookie_config);
// Enable cookies for chrome-extension URLs.
@@ -694,8 +692,7 @@ net::URLRequestContext* ProfileImplIOData::InitializeAppRequestContext(
cookie_path,
content::CookieStoreConfig::EPHEMERAL_SESSION_COOKIES,
NULL, NULL);
- cookie_config.crypto_delegate =
- chrome_browser_net::GetCookieCryptoDelegate();
+ cookie_config.crypto_delegate = cookie_config::GetCookieCryptoDelegate();
cookie_store = content::CreateCookieStore(cookie_config);
}
« no previous file with comments | « chrome/browser/profiles/DEPS ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698