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

Unified Diff: chrome/browser/sync_file_system/syncable_file_system_util.cc

Issue 407073003: [SyncFS] Add completion callback to PromoteDemotedChanges (1/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « chrome/browser/sync_file_system/syncable_file_system_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/syncable_file_system_util.cc
diff --git a/chrome/browser/sync_file_system/syncable_file_system_util.cc b/chrome/browser/sync_file_system/syncable_file_system_util.cc
index f649e1b0950e95d3b43ca293556d31f11e7c3a2d..e03f33986a11f6d52d8564726c5d36e686479ffc 100644
--- a/chrome/browser/sync_file_system/syncable_file_system_util.cc
+++ b/chrome/browser/sync_file_system/syncable_file_system_util.cc
@@ -38,6 +38,8 @@ const base::FilePath::CharType kSyncFileSystemDir[] =
// Flags to enable features for testing.
bool g_is_syncfs_v2_enabled = true;
+void Noop() {}
+
} // namespace
void RegisterSyncableFileSystem() {
@@ -165,4 +167,8 @@ void RunSoon(const tracked_objects::Location& from_here,
base::MessageLoop::current()->PostTask(from_here, callback);
}
+base::Closure NoopClosure() {
+ return base::Bind(&Noop);
+}
+
} // namespace sync_file_system
« no previous file with comments | « chrome/browser/sync_file_system/syncable_file_system_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698