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

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: 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
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..7b8d0bd9086d301733a7227df4bf363c2a543bcd 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 the account.
Andrew T Wilson (Slow) 2013/05/13 11:51:13 See my previous comment - I think "disabled the ac
pavely 2013/05/13 22:37:09 Done.
+ 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,
tim (not reviewing) 2013/05/13 04:18:58 Why is this here as a ClientAction? It isn't part
pavely 2013/05/13 22:37:09 I followed pattern of DISABLE_SYNC_ON_CLIENT. It i
+
// The default. No action.
UNKNOWN_ACTION
};

Powered by Google App Engine
This is Rietveld 408576698