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

Unified Diff: components/gcm_driver/gcm_channel_status_request.h

Issue 657703002: Revert of [GCM] Start GCMChannelStatusSyncer when GCM is disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_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 d7e4f218155bb3328088f43b80f03e52e44997eb..c2f41932e865cd5a16e4837a2d11aa426af2ef43 100644
--- a/components/gcm_driver/gcm_channel_status_request.h
+++ b/components/gcm_driver/gcm_channel_status_request.h
@@ -26,14 +26,7 @@
class GCMChannelStatusRequest : public net::URLFetcherDelegate {
public:
// Callback completing the channel status request.
- // |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)>
+ typedef base::Callback<void(bool enabled, int poll_interval_seconds)>
GCMChannelStatusRequestCallback;
GCMChannelStatusRequest(
« no previous file with comments | « chrome/browser/services/gcm/gcm_desktop_utils.cc ('k') | components/gcm_driver/gcm_channel_status_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698