diff options
Diffstat (limited to 'sync/engine/syncer_proto_util.cc')
-rw-r--r-- | sync/engine/syncer_proto_util.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sync/engine/syncer_proto_util.cc b/sync/engine/syncer_proto_util.cc index b1ed209..5051b82 100644 --- a/sync/engine/syncer_proto_util.cc +++ b/sync/engine/syncer_proto_util.cc @@ -267,19 +267,19 @@ SyncProtocolErrorType ConvertSyncProtocolErrorTypePBToLocalType( } browser_sync::ClientAction ConvertClientActionPBToLocalClientAction( - const sync_pb::ClientToServerResponse::Error::Action& action) { + const sync_pb::SyncEnums::Action& action) { switch (action) { - case ClientToServerResponse::Error::UPGRADE_CLIENT: + case sync_pb::SyncEnums::UPGRADE_CLIENT: return browser_sync::UPGRADE_CLIENT; - case ClientToServerResponse::Error::CLEAR_USER_DATA_AND_RESYNC: + case sync_pb::SyncEnums::CLEAR_USER_DATA_AND_RESYNC: return browser_sync::CLEAR_USER_DATA_AND_RESYNC; - case ClientToServerResponse::Error::ENABLE_SYNC_ON_ACCOUNT: + case sync_pb::SyncEnums::ENABLE_SYNC_ON_ACCOUNT: return browser_sync::ENABLE_SYNC_ON_ACCOUNT; - case ClientToServerResponse::Error::STOP_AND_RESTART_SYNC: + case sync_pb::SyncEnums::STOP_AND_RESTART_SYNC: return browser_sync::STOP_AND_RESTART_SYNC; - case ClientToServerResponse::Error::DISABLE_SYNC_ON_CLIENT: + case sync_pb::SyncEnums::DISABLE_SYNC_ON_CLIENT: return browser_sync::DISABLE_SYNC_ON_CLIENT; - case ClientToServerResponse::Error::UNKNOWN_ACTION: + case sync_pb::SyncEnums::UNKNOWN_ACTION: return browser_sync::UNKNOWN_ACTION; default: NOTREACHED(); |