diff options
Diffstat (limited to 'google_apis/gcm/gcm_client_impl.cc')
-rw-r--r-- | google_apis/gcm/gcm_client_impl.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/google_apis/gcm/gcm_client_impl.cc b/google_apis/gcm/gcm_client_impl.cc index 953baa9..a0a2142 100644 --- a/google_apis/gcm/gcm_client_impl.cc +++ b/google_apis/gcm/gcm_client_impl.cc @@ -176,7 +176,7 @@ void GCMClientImpl::Initialize( const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, const scoped_refptr<net::URLRequestContextGetter>& url_request_context_getter, - GCMClient::Delegate* delegate) { + Delegate* delegate) { DCHECK_EQ(UNINITIALIZED, state_); DCHECK(url_request_context_getter); DCHECK(delegate); @@ -195,8 +195,6 @@ void GCMClientImpl::Initialize( delegate_ = delegate; - recorder_.SetDelegate(this); - state_ = INITIALIZED; } @@ -629,10 +627,6 @@ GCMClient::GCMStatistics GCMClientImpl::GetStatistics() const { return stats; } -void GCMClientImpl::OnActivityRecorded() { - delegate_->OnActivityRecorded(); -} - void GCMClientImpl::OnMessageReceivedFromMCS(const gcm::MCSMessage& message) { switch (message.tag()) { case kLoginResponseTag: |