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

Unified Diff: sync/protocol/sync_protocol_error.cc

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
« no previous file with comments | « sync/protocol/sync_protocol_error.h ('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.cc
diff --git a/sync/protocol/sync_protocol_error.cc b/sync/protocol/sync_protocol_error.cc
index cd22e9a46f600537df04ba33d6d49e434bd485b1..ac9e2fd658f2023b86feb74a00d4503afca62ca7 100644
--- a/sync/protocol/sync_protocol_error.cc
+++ b/sync/protocol/sync_protocol_error.cc
@@ -23,6 +23,7 @@ const char* GetSyncErrorTypeString(SyncProtocolErrorType type) {
ENUM_CASE(MIGRATION_DONE);
ENUM_CASE(INVALID_CREDENTIAL);
ENUM_CASE(DISABLED_BY_ADMIN);
+ ENUM_CASE(USER_ROLLBACK);
ENUM_CASE(UNKNOWN_ERROR);
}
NOTREACHED();
@@ -37,6 +38,7 @@ const char* GetClientActionString(ClientAction action) {
ENUM_CASE(STOP_AND_RESTART_SYNC);
ENUM_CASE(DISABLE_SYNC_ON_CLIENT);
ENUM_CASE(STOP_SYNC_FOR_DISABLED_ACCOUNT);
+ ENUM_CASE(DISABLE_SYNC_AND_ROLLBACK);
ENUM_CASE(UNKNOWN_ACTION);
}
NOTREACHED();
« no previous file with comments | « sync/protocol/sync_protocol_error.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698