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

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

Issue 57993004: Remove content dependency from TransportSecurityPersister. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: asdf Created 7 years, 1 month 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/net/transport_security_persister_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index f973d9fa71427b0740c6bff1dd2a50276321cb28..d54d9ec807211722b4b290984e3019d3037bbd9b 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -815,9 +815,11 @@ void ProfileIOData::Init(content::ProtocolHandlerMap* protocol_handlers) const {
transport_security_state_.reset(new net::TransportSecurityState());
transport_security_persister_.reset(
- new TransportSecurityPersister(transport_security_state_.get(),
- profile_params_->path,
- is_incognito()));
+ new TransportSecurityPersister(
+ transport_security_state_.get(),
+ profile_params_->path,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
+ is_incognito()));
// Take ownership over these parameters.
cookie_settings_ = profile_params_->cookie_settings;
« no previous file with comments | « chrome/browser/net/transport_security_persister_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698