Index: components/gcm_driver/gcm_client.h |
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h |
index 2aa224a369aba8f176cc012b4444998dcbe393a0..3c6092bc6d72b86015a0acf094a299b2be75565b 100644 |
--- a/components/gcm_driver/gcm_client.h |
+++ b/components/gcm_driver/gcm_client.h |
@@ -309,6 +309,11 @@ class GCMClient { |
// Updates the timer used by the HeartbeatManager for sending heartbeats. |
virtual void UpdateHeartbeatTimer(scoped_ptr<base::Timer> timer) = 0; |
+ |
+ // Gets and sets custom heartbeat interval for the MCS connection. |
Nicolas Zea
2015/05/07 18:13:52
Describe what scope corresponds to?
fgorski
2015/05/10 06:44:33
Done.
|
+ virtual void AddHeartbeatInterval(const std::string& scope, |
+ int interval_ms) = 0; |
+ virtual void RemoveHeartbeatInterval(const std::string& scope) = 0; |
}; |
} // namespace gcm |