# Disable Google Cloud Messaging (GCM) client --- a/components/gcm_driver/gcm_client_impl.cc +++ b/components/gcm_driver/gcm_client_impl.cc @@ -481,6 +481,7 @@ } void GCMClientImpl::InitializeMCSClient() { + return; std::vector endpoints; endpoints.push_back(gservices_settings_.GetMCSMainEndpoint()); GURL fallback_endpoint = gservices_settings_.GetMCSFallbackEndpoint(); @@ -678,6 +679,7 @@ } void GCMClientImpl::StartCheckin() { + return; // Make sure no checkin is in progress. if (checkin_request_.get()) return; @@ -756,6 +758,7 @@ } void GCMClientImpl::SchedulePeriodicCheckin() { + return; // Make sure no checkin is in progress. if (checkin_request_.get() || !device_checkin_info_.accounts_set) return;