Index: components/gcm_driver/gcm_client.h |
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h |
index 9956c1003e93e3125866b2f2c0eb5fc8a126af53..b17a2245bdc5f1c670ef1f3b25b022025d57f219 100644 |
--- a/components/gcm_driver/gcm_client.h |
+++ b/components/gcm_driver/gcm_client.h |
@@ -20,6 +20,7 @@ class GURL; |
namespace base { |
class FilePath; |
class SequencedTaskRunner; |
+class Timer; |
} |
namespace net { |
@@ -299,6 +300,9 @@ class GCMClient { |
// Sets last token fetch time in persistent store. |
virtual void SetLastTokenFetchTime(const base::Time& time) = 0; |
+ |
+ // Updates the timer used by the HeartbeatManager for sending heartbeats. |
+ virtual void UpdateHeartbeatTimer(scoped_ptr<base::Timer> timer) = 0; |
}; |
} // namespace gcm |