diff options
author | jianli <jianli@chromium.org> | 2014-10-14 16:16:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-14 23:16:32 +0000 |
commit | cd886410d9df48ab930f5bfdfdf761b2ecf4ba76 (patch) | |
tree | 79386aa39bf183d081dc7f17b37a73f35be410a7 /components/gcm_driver/gcm_channel_status_syncer.h | |
parent | acec86f50047d33fa4e3429ba61f56546a332cc7 (diff) | |
download | chromium_src-cd886410d9df48ab930f5bfdfdf761b2ecf4ba76.zip chromium_src-cd886410d9df48ab930f5bfdfdf761b2ecf4ba76.tar.gz chromium_src-cd886410d9df48ab930f5bfdfdf761b2ecf4ba76.tar.bz2 |
Revert of [GCM] Start GCMChannelStatusSyncer when GCM is disabled (patchset #2 id:20001 of https://codereview.chromium.org/653843003/)
Reason for revert:
Reverted due to that the fix is not complete. Will fix one more issue we find and reland the patch.
Original issue's description:
> [GCM] Start GCMChannelStatusSyncer when GCM is disabled
>
> We need to start GCMChannelStatusSyncer when GCM is disabled in order
> to poll the server to find out when it is reenabled.
>
> Also if server returns empty response, we should not treat it as error
> and trigger the backoff logic.
>
> BUG=423415
> TEST=new tests added
>
> Committed: https://crrev.com/9e9dd3b7798b3500d70941af04b1325ef9a0b544
> Cr-Commit-Position: refs/heads/master@{#299518}
TBR=fgorski@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=423415
Review URL: https://codereview.chromium.org/657703002
Cr-Commit-Position: refs/heads/master@{#299579}
Diffstat (limited to 'components/gcm_driver/gcm_channel_status_syncer.h')
-rw-r--r-- | components/gcm_driver/gcm_channel_status_syncer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/gcm_driver/gcm_channel_status_syncer.h b/components/gcm_driver/gcm_channel_status_syncer.h index 8359cdf..b4641af 100644 --- a/components/gcm_driver/gcm_channel_status_syncer.h +++ b/components/gcm_driver/gcm_channel_status_syncer.h @@ -59,9 +59,7 @@ class GCMChannelStatusSyncer { private: // Called when a request is completed. - void OnRequestCompleted(bool update_received, - bool enabled, - int poll_interval_seconds); + void OnRequestCompleted(bool enabled, int poll_interval_seconds); // Schedules next request to start after appropriate delay. void ScheduleRequest(); |