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

Unified Diff: sync/protocol/sync_protocol_error.cc

Issue 14655009: Client changes for disabled dasher account (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 7 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
« 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 52421cd5a2ea968bb2fff82aa701982016437a17..ce55bcdebd0f85acad7a2961c20aa52d7f5c3076 100644
--- a/sync/protocol/sync_protocol_error.cc
+++ b/sync/protocol/sync_protocol_error.cc
@@ -22,6 +22,7 @@ const char* GetSyncErrorTypeString(SyncProtocolErrorType type) {
ENUM_CASE(NON_RETRIABLE_ERROR);
ENUM_CASE(MIGRATION_DONE);
ENUM_CASE(INVALID_CREDENTIAL);
+ ENUM_CASE(DISABLED_BY_ADMIN);
ENUM_CASE(UNKNOWN_ERROR);
}
NOTREACHED();
@@ -35,6 +36,7 @@ const char* GetClientActionString(ClientAction action) {
ENUM_CASE(ENABLE_SYNC_ON_ACCOUNT);
ENUM_CASE(STOP_AND_RESTART_SYNC);
ENUM_CASE(DISABLE_SYNC_ON_CLIENT);
+ ENUM_CASE(STOP_SYNC_FOR_DISABLED_ACCOUNT);
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