| Index: google_apis/gcm/engine/registration_request.cc
|
| diff --git a/google_apis/gcm/engine/registration_request.cc b/google_apis/gcm/engine/registration_request.cc
|
| index 137b3c26c00326e86f4c05a08921d706ebded186..58ce94b9df012b35da77ea0cb7711b87b960b92f 100644
|
| --- a/google_apis/gcm/engine/registration_request.cc
|
| +++ b/google_apis/gcm/engine/registration_request.cc
|
| @@ -69,7 +69,7 @@ bool ShouldRetryWithStatus(RegistrationRequest::Status status) {
|
| case RegistrationRequest::UNKNOWN_ERROR:
|
| case RegistrationRequest::URL_FETCHING_FAILED:
|
| case RegistrationRequest::HTTP_NOT_OK:
|
| - case RegistrationRequest::RESPONSE_PARSING_FAILED:
|
| + case RegistrationRequest::NO_RESPONSE_BODY:
|
| return true;
|
| case RegistrationRequest::SUCCESS:
|
| case RegistrationRequest::INVALID_PARAMETERS:
|
| @@ -206,7 +206,7 @@ RegistrationRequest::Status RegistrationRequest::ParseResponse(
|
| std::string response;
|
| if (!source->GetResponseAsString(&response)) {
|
| LOG(ERROR) << "Failed to parse registration response as a string.";
|
| - return RESPONSE_PARSING_FAILED;
|
| + return NO_RESPONSE_BODY;
|
| }
|
|
|
| if (source->GetResponseCode() == net::HTTP_OK) {
|
|
|