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

Unified Diff: sync/protocol/sync_protocol_error.h

Issue 238273008: Add an action for server to send down rollback command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« sync/protocol/sync_enums.proto ('K') | « sync/protocol/sync_enums.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/sync_protocol_error.h
diff --git a/sync/protocol/sync_protocol_error.h b/sync/protocol/sync_protocol_error.h
index be9232d21989f4dbd6469f7c1c41b002d21a2cb2..173ed5b498cc5688ff6ab6d4b2fbf76bd4ef13ac 100644
--- a/sync/protocol/sync_protocol_error.h
+++ b/sync/protocol/sync_protocol_error.h
@@ -62,6 +62,9 @@ enum ClientAction {
// Wipe this client of any sync data.
DISABLE_SYNC_ON_CLIENT,
+ // Disable sync and roll back local model to pre-sync state.
+ DISABLE_SYNC_AND_ROLLBACK,
+
// Account is disabled by admin. Stop sync, clear prefs and show message on
// settings page that account is disabled.
STOP_SYNC_FOR_DISABLED_ACCOUNT,
« sync/protocol/sync_enums.proto ('K') | « sync/protocol/sync_enums.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698