Chromium Code Reviews| Index: components/gcm_driver/gcm_client.h |
| diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h |
| index cd804b2a520300cf9011700f10d3d902f609a32a..3241b7b27d6f109594c29ff9cf5ae18f52dd45c4 100644 |
| --- a/components/gcm_driver/gcm_client.h |
| +++ b/components/gcm_driver/gcm_client.h |
| @@ -320,6 +320,13 @@ class GCMClient { |
| // Retrieves the Instance ID data for a specific app from the persistent |
| // store. |
| virtual std::string GetInstanceIDData(const std::string& app_id) = 0; |
| + |
| + // Gets and sets custom heartbeat interval for the MCS connection. |
| + // |scope| is used to identify the component that requests a custom interval |
|
Nicolas Zea
2015/05/13 17:57:36
nit: I'd explicitly call out that it should be a u
fgorski
2015/05/13 18:59:15
Done.
|
| + // to be set, and allows that component to later revoke the setting. |
| + virtual void AddHeartbeatInterval(const std::string& scope, |
| + int interval_ms) = 0; |
| + virtual void RemoveHeartbeatInterval(const std::string& scope) = 0; |
| }; |
| } // namespace gcm |