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

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

Issue 2691243003: Reland of move 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"
7 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
8 9
9 namespace extensions { 10 namespace extensions {
10 11
11 UpdateClientConfig::UpdateClientConfig() {} 12 UpdateClientConfig::UpdateClientConfig() {}
12 13
13 scoped_refptr<base::SequencedTaskRunner> 14 scoped_refptr<base::SequencedTaskRunner>
14 UpdateClientConfig::GetSequencedTaskRunner() const { 15 UpdateClientConfig::GetSequencedTaskRunner() const {
15 return content::BrowserThread::GetBlockingPool() 16 return content::BrowserThread::GetBlockingPool()
16 ->GetSequencedTaskRunnerWithShutdownBehavior( 17 ->GetSequencedTaskRunnerWithShutdownBehavior(
17 base::SequencedWorkerPool::GetSequenceToken(), 18 base::SequencedWorkerPool::GetSequenceToken(),
18 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN); 19 base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
19 } 20 }
20 21
21 UpdateClientConfig::~UpdateClientConfig() {} 22 UpdateClientConfig::~UpdateClientConfig() {}
22 23
23 } // namespace extensions 24 } // 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