Index: google_apis/gcm/gcm_client_impl.cc |
diff --git a/google_apis/gcm/gcm_client_impl.cc b/google_apis/gcm/gcm_client_impl.cc |
index 5b027960d4dbed98472c7f2b5279afad3087e22f..deefe364623b516ae0ad1b4cbb0e9fbf19aa2808 100644 |
--- a/google_apis/gcm/gcm_client_impl.cc |
+++ b/google_apis/gcm/gcm_client_impl.cc |
@@ -198,6 +198,8 @@ void GCMClientImpl::Initialize( |
delegate_ = delegate; |
+ recorder_.SetDelegate(this); |
+ |
state_ = INITIALIZED; |
} |
@@ -619,6 +621,10 @@ GCMClient::GCMStatistics GCMClientImpl::GetStatistics() const { |
return stats; |
} |
+void GCMClientImpl::OnActivityRecorded() { |
+ delegate_->OnActivityRecorded(); |
+} |
+ |
void GCMClientImpl::OnMessageReceivedFromMCS(const gcm::MCSMessage& message) { |
switch (message.tag()) { |
case kLoginResponseTag: |