diff options
Diffstat (limited to 'google_apis/gcm/engine/heartbeat_manager.h')
| -rw-r--r-- | google_apis/gcm/engine/heartbeat_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/google_apis/gcm/engine/heartbeat_manager.h b/google_apis/gcm/engine/heartbeat_manager.h index fe3bba6..b8efe03 100644 --- a/google_apis/gcm/engine/heartbeat_manager.h +++ b/google_apis/gcm/engine/heartbeat_manager.h @@ -91,6 +91,9 @@ class GCM_EXPORT HeartbeatManager : public base::PowerObserver { // Restarts the heartbeat timer. void RestartTimer(); + // Calculates and sets the current heartbeat interval. + void UpdateHeartbeatInterval(); + // Calculates default heartbeat interval, depending on current network. int GetDefaultHeartbeatInterval(); |
