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 d7f47d0b1f20d958c941ed1961475d0744d018a4..68dade34f23e48ca7e5ed8e9b7fed2d4480ff9b6 100644 |
--- a/google_apis/gcm/gcm_client_impl.h |
+++ b/google_apis/gcm/gcm_client_impl.h |
@@ -18,6 +18,7 @@ |
#include "google_apis/gcm/engine/mcs_client.h" |
#include "google_apis/gcm/engine/registration_request.h" |
#include "google_apis/gcm/gcm_client.h" |
+#include "google_apis/gcm/gcm_stats_recorder.h" |
#include "google_apis/gcm/protocol/android_checkin.pb.h" |
#include "net/base/net_log.h" |
#include "net/url_request/url_request_context_getter.h" |
@@ -64,6 +65,8 @@ class GCM_EXPORT GCMClientImpl : public GCMClient { |
virtual void Send(const std::string& app_id, |
const std::string& receiver_id, |
const OutgoingMessage& message) OVERRIDE; |
+ virtual void SetRecording(bool recording) OVERRIDE; |
+ virtual void ClearActivityLogs() OVERRIDE; |
virtual GCMStatistics GetStatistics() const OVERRIDE; |
private: |
@@ -182,6 +185,9 @@ class GCM_EXPORT GCMClientImpl : public GCMClient { |
// components of the engine. |
void SetMCSClientForTesting(scoped_ptr<MCSClient> mcs_client); |
+ // Recorder that logs GCM activities. |
+ GCMStatsRecorder recorder_; |
+ |
// State of the GCM Client Implementation. |
State state_; |