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

Side by Side Diff: extensions/browser/updater/update_client_config.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « extensions/browser/content_verify_job.cc ('k') | extensions/browser/user_script_loader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/browser/updater/update_client_config.h" 5 #include "extensions/browser/updater/update_client_config.h"
6 6
7 #include "base/threading/sequenced_worker_pool.h"
8 #include "content/public/browser/browser_thread.h" 7 #include "content/public/browser/browser_thread.h"
9 8
10 namespace extensions { 9 namespace extensions {
11 10
12 UpdateClientConfig::UpdateClientConfig() {} 11 UpdateClientConfig::UpdateClientConfig() {}
13 12
14 scoped_refptr<base::SequencedTaskRunner> 13 scoped_refptr<base::SequencedTaskRunner>
15 UpdateClientConfig::GetSequencedTaskRunner() const { 14 UpdateClientConfig::GetSequencedTaskRunner() const {
16 return content::BrowserThread::GetBlockingPool() 15 return content::BrowserThread::GetBlockingPool()
17 ->GetSequencedTaskRunnerWithShutdownBehavior( 16 ->GetSequencedTaskRunnerWithShutdownBehavior(
18 base::SequencedWorkerPool::GetSequenceToken(), 17 base::SequencedWorkerPool::GetSequenceToken(),
19 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); 18 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
20 } 19 }
21 20
22 UpdateClientConfig::~UpdateClientConfig() {} 21 UpdateClientConfig::~UpdateClientConfig() {}
23 22
24 } // namespace extensions 23 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/content_verify_job.cc ('k') | extensions/browser/user_script_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698