Index: components/gcm_driver/gcm_channel_status_request.h |
diff --git a/components/gcm_driver/gcm_channel_status_request.h b/components/gcm_driver/gcm_channel_status_request.h |
index c2f41932e865cd5a16e4837a2d11aa426af2ef43..d7e4f218155bb3328088f43b80f03e52e44997eb 100644 |
--- a/components/gcm_driver/gcm_channel_status_request.h |
+++ b/components/gcm_driver/gcm_channel_status_request.h |
@@ -26,7 +26,14 @@ namespace gcm { |
class GCMChannelStatusRequest : public net::URLFetcherDelegate { |
public: |
// Callback completing the channel status request. |
- typedef base::Callback<void(bool enabled, int poll_interval_seconds)> |
+ // |update_received|: use the existing values if it is false which means no |
+ // update is received. |
+ // |enabled|: indicates if GCM is enabled (allowed to run) or not. |
+ // |poll_interval_seconds|: the interval in seconds to start next poll |
+ // request. |
+ typedef base::Callback<void(bool update_received, |
+ bool enabled, |
+ int poll_interval_seconds)> |
GCMChannelStatusRequestCallback; |
GCMChannelStatusRequest( |