From 69c662363089fb85146b570407e859804e8eece7 Mon Sep 17 00:00:00 2001 From: "albertb@chromium.org" Date: Mon, 26 Mar 2012 16:49:17 +0000 Subject: 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 --- sync/protocol/sync.proto | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sync/protocol/sync.proto') 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. -- cgit v1.1