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

Unified Diff: chrome/browser/sync_file_system/sync_event_observer.h

Issue 11299008: Remote service state handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/sync_event_observer.h
diff --git a/chrome/browser/sync_file_system/sync_event_observer.h b/chrome/browser/sync_file_system/sync_event_observer.h
index 4d26e93d0dc2f1f035358958306dc7c2348f4996..0e9c0c815a47aed7db80c0d7ab2eb363ce73e3b4 100644
--- a/chrome/browser/sync_file_system/sync_event_observer.h
+++ b/chrome/browser/sync_file_system/sync_event_observer.h
@@ -36,13 +36,8 @@ class SyncEventObserver {
// database, checking connectivity and authenticating to the service etc).
SYNC_SERVICE_INITIALIZING,
- // The sync service has detected changes in local or remote side and is
- // performing file synchronization.
- SYNC_SERVICE_SYNCING,
-
- // The sync service is up and runnable but currently is idle (i.e. no
- // file activities which require sync operation in remote and local side).
- SYNC_SERVICE_IDLE,
+ // The sync service is up and running.
+ SYNC_SERVICE_RUNNING,
// The sync service is (temporarily) suspended due to some recoverable
// errors, e.g. network is offline, the user is not authenticated, remote
@@ -57,7 +52,7 @@ class SyncEventObserver {
SYNC_SERVICE_DISABLED,
};
- // Reports there was an error in the sync file system backend.
+ // Reports there was a state change in the sync file system backend.
virtual void OnSyncStateUpdated(fileapi::SyncServiceState state,
const std::string& description) = 0;

Powered by Google App Engine
This is Rietveld 408576698