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

Unified Diff: components/gcm_driver/gcm_client_impl.cc

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: components/gcm_driver/gcm_client_impl.cc
diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc
index bd70ddf6a23bde1daeaeda2c5b482dc0de31280e..3bcb69fe472feaa139b05c01e65d991e2ca22eac 100644
--- a/components/gcm_driver/gcm_client_impl.cc
+++ b/components/gcm_driver/gcm_client_impl.cc
@@ -478,6 +478,10 @@ void GCMClientImpl::SetLastTokenFetchTime(const base::Time& time) {
weak_ptr_factory_.GetWeakPtr()));
}
+MCSClient* GCMClientImpl::GetMCSClient() const {
+ return mcs_client_.get();
+}
+
void GCMClientImpl::StartCheckin() {
// Make sure no checkin is in progress.
if (checkin_request_.get())

Powered by Google App Engine
This is Rietveld 408576698