summaryrefslogtreecommitdiffstats
path: root/sync/protocol/sync_enums.proto
diff options
context:
space:
mode:
Diffstat (limited to 'sync/protocol/sync_enums.proto')
-rw-r--r--sync/protocol/sync_enums.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/sync/protocol/sync_enums.proto b/sync/protocol/sync_enums.proto
index d28023b..e419183 100644
--- a/sync/protocol/sync_enums.proto
+++ b/sync/protocol/sync_enums.proto
@@ -61,4 +61,16 @@ message SyncEnums {
// out-of-date client parses a value it doesn't
// recognize.
}
+
+ enum Action {
+ UPGRADE_CLIENT = 0; // Upgrade the client to latest version.
+ CLEAR_USER_DATA_AND_RESYNC = 1; // Clear user data from dashboard and
+ // setup sync again.
+ ENABLE_SYNC_ON_ACCOUNT = 2; // The administrator needs to enable sync
+ // on the account.
+ STOP_AND_RESTART_SYNC = 3; // Stop sync and set up sync again.
+ DISABLE_SYNC_ON_CLIENT = 4; // Wipe the client of all sync data and
+ // stop syncing.
+ UNKNOWN_ACTION = 5; // This is the default.
+ }
}