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 #ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_BACKEND_TASK_RUNNER_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_API_STORAGE_BACKEND_TASK_RUNNER_H_ | |
7 | |
8 #include "base/memory/ref_counted.h" | |
9 #include "base/sequenced_task_runner.h" | |
10 | |
11 namespace extensions { | |
12 | |
13 // Gets the singleton task runner for running SyncStorageBackend on. | |
14 scoped_refptr<base::SequencedTaskRunner> GetBackendTaskRunner(); | |
Devlin
2017/06/21 19:19:31
Since this is currently only used for SyncStorageB
stanisc
2017/06/22 22:34:16
SyncStorageBackend seems like a wrong place. I thi
stanisc
2017/06/23 21:00:23
I'll leave it this way and re-evaluate in the next
Devlin
2017/06/23 21:23:35
I think #3 (preferring AssertIOAllowed) is probabl
| |
15 | |
16 } // namespace extensions | |
17 | |
18 #endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_BACKEND_TASK_RUNNER_H_ | |
OLD | NEW |