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

Unified Diff: google_apis/gcm/gcm_client.h

Issue 266913015: Enable auto-refreshing of the gcm-internals page whenever a GCM activity is recorded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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: google_apis/gcm/gcm_client.h
diff --git a/google_apis/gcm/gcm_client.h b/google_apis/gcm/gcm_client.h
index 28c9ef2b453d5c837285bbaca997b379ed9c0e38..9426486a55981814089385afbdbdb1e3d6e999e8 100644
--- a/google_apis/gcm/gcm_client.h
+++ b/google_apis/gcm/gcm_client.h
@@ -156,6 +156,10 @@ class GCM_EXPORT GCMClient {
// finished loading from the GCM store and retrieved the device check-in
// from the server if it hadn't yet.
virtual void OnGCMReady() = 0;
+
+ // Called when the GCMClient is recording activities and a new activity has
jianli 2014/05/06 22:54:53 Should we mention "the GCMClient is recording acti
juyik 2014/05/07 00:07:48 Done.
+ // just been recorded.
+ virtual void OnActivityRecorded() = 0;
};
GCMClient();

Powered by Google App Engine
This is Rietveld 408576698