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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_worker.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.h
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.h b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
index 06a2574ce658dc35d9183507c47f0fe766ff40bc..0cac5a9452ed4c7b8d6a07403408ed6733a1fe4a 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
@@ -89,7 +89,7 @@ class SyncWorker : public SyncWorkerInterface,
virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) OVERRIDE;
virtual scoped_ptr<base::ListValue> DumpDatabase() OVERRIDE;
virtual void SetSyncEnabled(bool enabled) OVERRIDE;
- virtual void PromoteDemotedChanges() OVERRIDE;
+ virtual void PromoteDemotedChanges(const base::Closure& callback) OVERRIDE;
virtual void ApplyLocalChange(
const FileChange& local_change,
const base::FilePath& local_path,

Powered by Google App Engine
This is Rietveld 408576698