Commit 278f5c29 authored by hashimoto's avatar hashimoto Committed by Commit bot

Stop using BrowserThread::FILE as TransportSecurityPersister's task runner

BUG=474876

Review URL: https://codereview.chromium.org/1064393002

Cr-Commit-Position: refs/heads/master@{#324373}
parent 687f1726
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment