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..01ac5d97a9c1d3d81a4d9caffa9296f1d0f45c1e 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" |
@@ -35,6 +36,7 @@ namespace gcm { |
class CheckinRequest; |
class ConnectionFactory; |
class GCMClientImplTest; |
+class GCMStatsRecorder; |
jianli
2014/03/18 23:53:23
Not needed.
juyik
2014/03/20 01:09:53
Done.
|
class UnregistrationRequest; |
// Implements the GCM Client. It is used to coordinate MCS Client (communication |
@@ -64,6 +66,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 +186,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_; |