| Index: google_apis/gcm/engine/mcs_client.h
|
| diff --git a/google_apis/gcm/engine/mcs_client.h b/google_apis/gcm/engine/mcs_client.h
|
| index a81bcbe95bb9c4cd843d861940749297c088fea6..8d35fd480a17da211703cd2f19fdaffed28abdc5 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_;
|
|
|