diff options
Diffstat (limited to 'google_apis/gcm/engine/mcs_client.h')
-rw-r--r-- | google_apis/gcm/engine/mcs_client.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/google_apis/gcm/engine/mcs_client.h b/google_apis/gcm/engine/mcs_client.h index a81bcbe..8d35fd4 100644 --- a/google_apis/gcm/engine/mcs_client.h +++ b/google_apis/gcm/engine/mcs_client.h @@ -160,8 +160,8 @@ class GCM_EXPORT MCSClient { void AddHeartbeatInterval(const std::string& scope, int interval_ms); void RemoveHeartbeatInterval(const std::string& scope); - HeartbeatManager& GetHeartbeatManagerForTesting() { - return heartbeat_manager_; + HeartbeatManager* GetHeartbeatManagerForTesting() { + return &heartbeat_manager_; } private: @@ -225,8 +225,9 @@ class GCM_EXPORT MCSClient { // any associated state). MCSPacketInternal PopMessageForSend(); - // Gets the minimum interval from the map of scopes to intervals. - int GetMinCustomHeartbeatInterval(); + // Gets the minimum interval from the map of scopes to intervals in + // milliseconds. + int GetMinHeartbeatIntervalMs(); // Local version string. Sent on login. const std::string version_string_; |