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

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

Issue 306813002: [SyncFS] Make routines using metadata database async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 357e77386dbe59bf9b4d29857a37891cd5b442fc..aad38e195a4254c7549a49205ee0b05d98f36bd7 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
@@ -69,6 +69,7 @@ class SyncWorker : public SyncTaskManager::Client {
SyncDirection direction) = 0;
virtual void UpdateServiceState(RemoteServiceState state,
const std::string& description) = 0;
+ virtual void OnPromoteDemotedChanges(size_t num_trackers) = 0;
protected:
virtual ~Observer() {}
@@ -105,6 +106,7 @@ class SyncWorker : public SyncTaskManager::Client {
scoped_ptr<base::ListValue> DumpFiles(const GURL& origin);
scoped_ptr<base::ListValue> DumpDatabase();
void SetSyncEnabled(bool enabled);
+ void PromoteDemotedChanges();
SyncStatusCode SetDefaultConflictResolutionPolicy(
ConflictResolutionPolicy policy);
SyncStatusCode SetConflictResolutionPolicy(

Powered by Google App Engine
This is Rietveld 408576698