Index: google_apis/gcm/engine/checkin_request.h |
diff --git a/google_apis/gcm/engine/checkin_request.h b/google_apis/gcm/engine/checkin_request.h |
index e11089acd1f02282104eb140ca05a5462e6106bd..464f87464febf4dd560477c98dc7dff127c3219c 100644 |
--- a/google_apis/gcm/engine/checkin_request.h |
+++ b/google_apis/gcm/engine/checkin_request.h |
@@ -12,7 +12,7 @@ |
#include "base/callback.h" |
#include "base/memory/weak_ptr.h" |
#include "google_apis/gcm/base/gcm_export.h" |
-#include "google_apis/gcm/protocol/android_checkin.pb.h" |
+#include "google_apis/gcm/protocol/checkin.pb.h" |
#include "net/base/backoff_entry.h" |
#include "net/url_request/url_fetcher_delegate.h" |
@@ -28,10 +28,10 @@ namespace gcm { |
// check-ins. |
class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate { |
public: |
- // A callback function for the checkin request, accepting |android_id| and |
- // |security_token|. |
- typedef base::Callback<void(uint64 android_id, uint64 security_token)> |
- CheckinRequestCallback; |
+ // A callback function for the checkin request, accepting |checkin_response| |
+ // protobuf. |
+ typedef base::Callback<void(const checkin_proto::AndroidCheckinResponse& |
+ checkin_response)> CheckinRequestCallback; |
CheckinRequest(const CheckinRequestCallback& callback, |
const net::BackoffEntry::Policy& backoff_policy, |