OLD | NEW |
| (Empty) |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/extensions/api/storage/backend_task_runner.h" | |
6 | |
7 #include "content/public/browser/browser_thread.h" | |
8 | |
9 namespace extensions { | |
10 | |
11 // TODO(stanisc): crbug.com/731903: change to LazySequencedTaskRunner once | |
12 // migration from BrowserThread::FILE to GetBackendTaskRunner() is complete. | |
13 scoped_refptr<base::SequencedTaskRunner> GetBackendTaskRunner() { | |
14 return content::BrowserThread::GetTaskRunnerForThread( | |
15 content::BrowserThread::FILE); | |
16 } | |
17 | |
18 } // namespace extensions | |
OLD | NEW |