Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Side by Side Diff: chrome/browser/extensions/api/storage/backend_task_runner.h

Issue 2944993002: Remove dependency on BrowserThread::FILE from Sync code (Closed)
Patch Set: Addressed feedback and fixed Android test failures Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/api/storage/backend_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698