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 |
}; |