Index: google_apis/gcm/gcm_client_impl.h |
diff --git a/google_apis/gcm/gcm_client_impl.h b/google_apis/gcm/gcm_client_impl.h |
index f38a08d9d5b3f6cbe381079066d04e5203465407..558a16ddc2d4087e6252f2f847ce0fe5afb0f8a5 100644 |
--- a/google_apis/gcm/gcm_client_impl.h |
+++ b/google_apis/gcm/gcm_client_impl.h |
@@ -73,7 +73,8 @@ class GCM_EXPORT GCMInternalsBuilder { |
// with MCS) and other pieces of GCM infrastructure like Registration and |
// Checkins. It also allows for registering user delegates that host |
// applications that send and receive messages. |
-class GCM_EXPORT GCMClientImpl : public GCMClient { |
+class GCM_EXPORT GCMClientImpl |
+ : public GCMClient, public GCMStatsRecorder::Delegate { |
public: |
explicit GCMClientImpl(scoped_ptr<GCMInternalsBuilder> internals_builder); |
virtual ~GCMClientImpl(); |
@@ -86,7 +87,7 @@ class GCM_EXPORT GCMClientImpl : public GCMClient { |
const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, |
const scoped_refptr<net::URLRequestContextGetter>& |
url_request_context_getter, |
- Delegate* delegate) OVERRIDE; |
+ GCMClient::Delegate* delegate) OVERRIDE; |
virtual void Load() OVERRIDE; |
virtual void Stop() OVERRIDE; |
virtual void CheckOut() OVERRIDE; |
@@ -99,6 +100,7 @@ class GCM_EXPORT GCMClientImpl : public GCMClient { |
virtual void SetRecording(bool recording) OVERRIDE; |
virtual void ClearActivityLogs() OVERRIDE; |
virtual GCMStatistics GetStatistics() const OVERRIDE; |
+ virtual void OnActivityRecorded() OVERRIDE; |
private: |
// State representation of the GCMClient. |
@@ -231,7 +233,7 @@ class GCM_EXPORT GCMClientImpl : public GCMClient { |
// State of the GCM Client Implementation. |
State state_; |
- Delegate* delegate_; |
+ GCMClient::Delegate* delegate_; |
// Device checkin info (android ID and security token used by device). |
CheckinInfo device_checkin_info_; |