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