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

Unified Diff: chrome/browser/sync_file_system/drive_backend/callback_helper.h

Issue 246163005: [SyncFS] Make ExtensionService usage of SyncWorker asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: buildfix Created 6 years, 8 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/sync_file_system/drive_backend/callback_helper.h
diff --git a/chrome/browser/sync_file_system/drive_backend/callback_helper.h b/chrome/browser/sync_file_system/drive_backend/callback_helper.h
index 2dd97964a52d9aea78af4fac4b015f44a597649a..b5fd9e45f5eb496059f94081ac242b68fe17e5e4 100644
--- a/chrome/browser/sync_file_system/drive_backend/callback_helper.h
+++ b/chrome/browser/sync_file_system/drive_backend/callback_helper.h
@@ -30,6 +30,10 @@ RebindForward(T& t) {
return t;
}
+void RelayToTaskRunner0(base::SequencedTaskRunner* task_runner,
peria 2014/04/24 02:38:21 This declaration is not needed.
tzik 2014/04/24 06:56:55 Refactored in another CL.
+ const tracked_objects::Location& from_here,
+ const base::Callback<void()>& callback);
+
template <typename T>
void RelayToTaskRunner1(base::SequencedTaskRunner* task_runner,
const tracked_objects::Location& from_here,
@@ -53,6 +57,9 @@ void RelayToTaskRunner2(base::SequencedTaskRunner* task_runner,
} // namespace internal
+base::Callback<void()> CreateRelayedCallback(
+ const base::Callback<void()>& callback);
+
template <typename T>
base::Callback<void(T)> CreateRelayedCallback(
const base::Callback<void(T)>& callback) {

Powered by Google App Engine
This is Rietveld 408576698