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

Unified Diff: sync/protocol/sync_protocol_error.h

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_enums.proto ('k') | sync/protocol/sync_protocol_error.cc » ('j') | 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 8339d0322daf87971b57de9090eaf4c15d77249e..3fe52badba2927792da1d86e02cd4232e0db2538 100644
--- a/sync/protocol/sync_protocol_error.h
+++ b/sync/protocol/sync_protocol_error.h
@@ -39,6 +39,9 @@ enum SyncProtocolErrorType {
// Invalid Credential.
INVALID_CREDENTIAL,
+ // An administrator disabled sync for this domain.
+ DISABLED_BY_ADMIN,
+
// The default value.
UNKNOWN_ERROR
};
@@ -59,6 +62,10 @@ enum ClientAction {
// Wipe this client of any sync data.
DISABLE_SYNC_ON_CLIENT,
+ // Account is disabled by admin. Stop sync, clear prefs and show message on
+ // settings page that account is disabled.
+ STOP_SYNC_FOR_DISABLED_ACCOUNT,
+
// The default. No action.
UNKNOWN_ACTION
};
« no previous file with comments | « sync/protocol/sync_enums.proto ('k') | sync/protocol/sync_protocol_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698