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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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
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/sequenced_task_runner.h"
7 #include "base/task_scheduler/post_task.h" 8 #include "base/task_scheduler/post_task.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 base::CreateSequencedTaskRunnerWithTraits( 16 return base::CreateSequencedTaskRunnerWithTraits(
16 {base::MayBlock(), base::TaskPriority::BACKGROUND, 17 {base::MayBlock(), base::TaskPriority::BACKGROUND,
17 base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}); 18 base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN});
18 } 19 }
19 20
20 UpdateClientConfig::~UpdateClientConfig() {} 21 UpdateClientConfig::~UpdateClientConfig() {}
21 22
22 } // namespace extensions 23 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698