Index: google_apis/gcm/engine/unregistration_request.h |
diff --git a/google_apis/gcm/engine/unregistration_request.h b/google_apis/gcm/engine/unregistration_request.h |
index 4e58326a42a29944f94cac9cad609f5706a4823d..bdcecd50001ad72336ff2dcf4b2436ffcf650d4a 100644 |
--- a/google_apis/gcm/engine/unregistration_request.h |
+++ b/google_apis/gcm/engine/unregistration_request.h |
@@ -50,6 +50,7 @@ class GCM_EXPORT UnregistrationRequest : public net::URLFetcherDelegate { |
HTTP_NOT_OK, // HTTP response code was not OK. |
UNKNOWN_ERROR, // Unknown error. |
REACHED_MAX_RETRIES, // Reached maximum number of retries. |
+ DEVICE_REGISTRATION_ERROR,// Chrome is not properly registered. |
// NOTE: Always keep this entry at the end. Add new status types only |
// immediately above this line. Make sure to update the corresponding |
// histogram enum accordingly. |
@@ -96,7 +97,7 @@ class GCM_EXPORT UnregistrationRequest : public net::URLFetcherDelegate { |
// Parses the HTTP response. It is called after |
// UnregistrationRequest::ParseResponse to proceed the parsing. |
- virtual Status ParseResponse(const net::URLFetcher* source) = 0; |
+ virtual Status ParseResponse(std::string response) = 0; |
// Reports various UMAs, including status, retry count and completion time. |
virtual void ReportUMAs(Status status, |