| 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..f5426370e9311bef002c984dea75d76913fb77fc 100644
|
| --- a/google_apis/gcm/engine/checkin_request.h
|
| +++ b/google_apis/gcm/engine/checkin_request.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/callback.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "google_apis/gcm/base/gcm_export.h"
|
| +#include "google_apis/gcm/gcm_stats_recorder.h"
|
| #include "google_apis/gcm/protocol/android_checkin.pb.h"
|
| #include "net/base/backoff_entry.h"
|
| #include "net/url_request/url_fetcher_delegate.h"
|
| @@ -39,7 +40,8 @@ class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate {
|
| uint64 android_id,
|
| uint64 security_token,
|
| const std::vector<std::string>& account_ids,
|
| - net::URLRequestContextGetter* request_context_getter);
|
| + net::URLRequestContextGetter* request_context_getter,
|
| + GCMStatsRecorder* recorder);
|
| virtual ~CheckinRequest();
|
|
|
| void Start();
|
| @@ -62,6 +64,9 @@ class GCM_EXPORT CheckinRequest : public net::URLFetcherDelegate {
|
| const uint64 security_token_;
|
| const std::vector<std::string> account_ids_;
|
|
|
| + // GCM internal stats recorder instance. Not owned.
|
| + GCMStatsRecorder* recorder_;
|
| +
|
| base::WeakPtrFactory<CheckinRequest> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CheckinRequest);
|
|
|