Index: components/gcm_driver/gcm_client_impl.cc |
diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc |
index 8fb162da91764c46d2ecfe98333e021929fb5018..448e416f30d74c70a29c0ea8d6af532aedc5db60 100644 |
--- a/components/gcm_driver/gcm_client_impl.cc |
+++ b/components/gcm_driver/gcm_client_impl.cc |
@@ -556,6 +556,17 @@ std::string GCMClientImpl::GetInstanceIDData(const std::string& app_id) { |
return iter->second; |
} |
+void GCMClientImpl::AddHeartbeatInterval(const std::string& scope, |
+ int interval_ms) { |
+ DCHECK(mcs_client_); |
+ mcs_client_->AddHeartbeatInterval(scope, interval_ms); |
+} |
+ |
+void GCMClientImpl::RemoveHeartbeatInterval(const std::string& scope) { |
+ DCHECK(mcs_client_); |
+ mcs_client_->RemoveHeartbeatInterval(scope); |
+} |
+ |
void GCMClientImpl::StartCheckin() { |
// Make sure no checkin is in progress. |
if (checkin_request_.get()) |