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

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

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
Index: chrome/browser/sync_file_system/drive_backend/sync_worker_interface.h
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker_interface.h b/chrome/browser/sync_file_system/drive_backend/sync_worker_interface.h
index b01fbb9e2d094e29b7e5286dac61fb91ce5cbab4..664ab87cc1f6d6485ab0053baa3b4e412f0a25dc 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker_interface.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker_interface.h
@@ -85,7 +85,7 @@ class SyncWorkerInterface {
virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) = 0;
virtual scoped_ptr<base::ListValue> DumpDatabase() = 0;
virtual void SetSyncEnabled(bool enabled) = 0;
- virtual void PromoteDemotedChanges() = 0;
+ virtual void PromoteDemotedChanges(const base::Closure& callback) = 0;
// See LocalChangeProcessor for the details.
virtual void ApplyLocalChange(

Powered by Google App Engine
This is Rietveld 408576698