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

Unified Diff: chrome/browser/extensions/api/storage/backend_task_runner.h

Issue 2944993002: Remove dependency on BrowserThread::FILE from Sync code (Closed)
Patch Set: Changed iOS specific version of CreateModelWorkerForGroup 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/storage/backend_task_runner.h
diff --git a/chrome/browser/extensions/api/storage/backend_task_runner.h b/chrome/browser/extensions/api/storage/backend_task_runner.h
new file mode 100644
index 0000000000000000000000000000000000000000..5bdb521b0d3a753157969a18cd066e437d82d141
--- /dev/null
+++ b/chrome/browser/extensions/api/storage/backend_task_runner.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2017 The Chromium Authors. All rights reserved.
Devlin 2017/06/21 00:25:21 no (c) in new files
stanisc 2017/06/21 17:20:54 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_API_STORAGE_BACKEND_TASK_RUNNER_H_
+#define CHROME_BROWSER_EXTENSIONS_API_STORAGE_BACKEND_TASK_RUNNER_H_
+
+#include "base/memory/ref_counted.h"
+#include "base/sequenced_task_runner.h"
+
+namespace extensions {
+
+// Gets the singleton task runner for running Extensions storage backend tasks.
Devlin 2017/06/21 00:25:20 Maybe explain what a "storage backend" task includ
stanisc 2017/06/21 17:20:55 I don't actually know exactly what needs to be pos
Devlin 2017/06/21 19:19:30 Yeah, I'm sure there will be more code to be updat
+scoped_refptr<base::SequencedTaskRunner> GetBackendTaskRunner();
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_STORAGE_BACKEND_TASK_RUNNER_H_

Powered by Google App Engine
This is Rietveld 408576698