| OLD | NEW |
| 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 |
| OLD | NEW |