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

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

Issue 1064393002: Stop using BrowserThread::FILE as TransportSecurityPersister's task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No auto Created 5 years, 8 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 | « no previous file | 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 88ea1699910113ac21128afd5cf48e0e2c33a132..bfa527c67782944a1d2e8c583b24aeaef8c3eeec 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -1043,11 +1043,14 @@ void ProfileIOData::Init(
command_line,
quick_check_enabled_.GetValue()));
transport_security_state_.reset(new net::TransportSecurityState());
+ base::SequencedWorkerPool* pool = BrowserThread::GetBlockingPool();
transport_security_persister_.reset(
new net::TransportSecurityPersister(
transport_security_state_.get(),
profile_params_->path,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
+ pool->GetSequencedTaskRunnerWithShutdownBehavior(
+ pool->GetSequenceToken(),
+ base::SequencedWorkerPool::BLOCK_SHUTDOWN),
IsOffTheRecord()));
// Take ownership over these parameters.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698