Chromium Code Reviews| Index: chrome/browser/extensions/api/storage/backend_task_runner.cc |
| diff --git a/chrome/browser/extensions/api/storage/backend_task_runner.cc b/chrome/browser/extensions/api/storage/backend_task_runner.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9e09bb4076775152bc0e479cd85abe72d1307b33 |
| --- /dev/null |
| +++ b/chrome/browser/extensions/api/storage/backend_task_runner.cc |
| @@ -0,0 +1,19 @@ |
| +// Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/extensions/api/storage/backend_task_runner.h" |
| + |
| +#include "content/public/browser/browser_thread.h" |
| + |
| +namespace extensions { |
| + |
| +// TODO(stanisc): crbug.com/731903 : change to LazySequencedTaskRunner once |
|
Devlin
2017/06/21 00:25:20
nit: no space after crbug.com/731903
stanisc
2017/06/21 17:20:54
Done.
|
| +// migration from BrowserThread::FILE to GetBackendTaskRunner() is complete. |
| + |
|
Devlin
2017/06/21 00:25:20
nit: remove this blank line
stanisc
2017/06/21 17:20:54
Done.
|
| +scoped_refptr<base::SequencedTaskRunner> GetBackendTaskRunner() { |
| + return content::BrowserThread::GetTaskRunnerForThread( |
| + content::BrowserThread::FILE); |
| +} |
| + |
| +} // namespace extensions |