Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: google_apis/gcm/engine/mcs_client.h

Issue 745123002: Link GCM heartbeat with wake on wifi preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make GCM wake from suspend aware Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 96c1580e31596276793490a1a9f33b049e82b8e0..6a2fa3de0d563bf6922240b2f1acf9c4f50ff685 100644
--- a/google_apis/gcm/engine/mcs_client.h
+++ b/google_apis/gcm/engine/mcs_client.h
@@ -104,6 +104,10 @@ class GCM_EXPORT MCSClient {
scoped_ptr<base::Timer> heartbeat_timer);
virtual ~MCSClient();
+ HeartbeatManager* heartbeat_manager() {
+ return &heartbeat_manager_;
+ }
+
// Initialize the client. Will load any previous id/token information as well
// as unacknowledged message information from the GCM storage, if it exists,
// passing the id/token information back via |initialization_callback| along

Powered by Google App Engine
This is Rietveld 408576698