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

Unified Diff: components/gcm_driver/gcm_driver_android.cc

Issue 320993003: [GCM] Add app handler support for connection events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add basic tests Created 6 years, 6 months 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_driver_android.cc
diff --git a/components/gcm_driver/gcm_driver_android.cc b/components/gcm_driver/gcm_driver_android.cc
index d70fb1d415ada45583e364bb9056bef813a5b911..aa9efc40fefb6d24627806720b1e0516d2ec6d1c 100644
--- a/components/gcm_driver/gcm_driver_android.cc
+++ b/components/gcm_driver/gcm_driver_android.cc
@@ -111,6 +111,11 @@ bool GCMDriverAndroid::IsGCMClientReady() const {
return true;
}
+bool GCMDriverAndroid::IsConnected() const {
+ // TODO(gcm): hook up to GCM connected status
+ return true;
+}
+
void GCMDriverAndroid::GetGCMStatistics(
const GetGCMStatisticsCallback& callback,
bool clear_logs) {

Powered by Google App Engine
This is Rietveld 408576698