diff options
author | albertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-26 16:49:17 +0000 |
---|---|---|
committer | albertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-26 16:49:17 +0000 |
commit | 69c662363089fb85146b570407e859804e8eece7 (patch) | |
tree | b56c70434b6029d7f0e85f7bcce4e5ee23c26609 /sync/protocol/sync.proto | |
parent | ba94e11898306d88c5f87c9898707c345c6d3974 (diff) | |
download | chromium_src-69c662363089fb85146b570407e859804e8eece7.zip chromium_src-69c662363089fb85146b570407e859804e8eece7.tar.gz chromium_src-69c662363089fb85146b570407e859804e8eece7.tar.bz2 |
sync: Move the error Action enum to sync_enums.proto so that it can be shared with
the logging proto on the server-side.
R=lipalani
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9837021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128930 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/protocol/sync.proto')
-rw-r--r-- | sync/protocol/sync.proto | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sync/protocol/sync.proto b/sync/protocol/sync.proto index dccf99f..e2dde54 100644 --- a/sync/protocol/sync.proto +++ b/sync/protocol/sync.proto @@ -642,18 +642,7 @@ message ClientToServerResponse { optional SyncEnums.ErrorType error_type = 1 [default = UNKNOWN]; optional string error_description = 2; optional string url = 3; - 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. - } - optional Action action = 4 [default = UNKNOWN_ACTION]; + optional SyncEnums.Action action = 4 [default = UNKNOWN_ACTION]; // Currently only meaningful if |error_type| is throttled. If this field // is absent then the whole client (all datatypes) is throttled. |