| Index: components/gcm_driver/instance_id/instance_id_impl.cc
|
| diff --git a/components/gcm_driver/instance_id/instance_id_impl.cc b/components/gcm_driver/instance_id/instance_id_impl.cc
|
| index 8e7e726ff4548986ac59333c295dfbbfde628c40..b10451fe0f7e41ede15a901481317a30710b07a9 100644
|
| --- a/components/gcm_driver/instance_id/instance_id_impl.cc
|
| +++ b/components/gcm_driver/instance_id/instance_id_impl.cc
|
| @@ -29,19 +29,19 @@ InstanceID::Result GCMClientResultToInstanceIDResult(
|
| return InstanceID::SUCCESS;
|
| case gcm::GCMClient::INVALID_PARAMETER:
|
| return InstanceID::INVALID_PARAMETER;
|
| - case gcm::GCMClient::ASYNC_OPERATION_PENDING:
|
| - return InstanceID::ASYNC_OPERATION_PENDING;
|
| case gcm::GCMClient::GCM_DISABLED:
|
| return InstanceID::DISABLED;
|
| + case gcm::GCMClient::ASYNC_OPERATION_PENDING:
|
| + return InstanceID::ASYNC_OPERATION_PENDING;
|
| case gcm::GCMClient::NETWORK_ERROR:
|
| return InstanceID::NETWORK_ERROR;
|
| case gcm::GCMClient::SERVER_ERROR:
|
| return InstanceID::SERVER_ERROR;
|
| case gcm::GCMClient::UNKNOWN_ERROR:
|
| return InstanceID::UNKNOWN_ERROR;
|
| - default:
|
| - NOTREACHED() << "Unexpected value of result cannot be converted: "
|
| - << result;
|
| + case gcm::GCMClient::TTL_EXCEEDED:
|
| + NOTREACHED();
|
| + break;
|
| }
|
| return InstanceID::UNKNOWN_ERROR;
|
| }
|
|
|