Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM
commit3c23f4a188e171998f3042ad62f4aa5717e66d63
authorjianli <jianli@chromium.org>
Thu, 18 Sep 2014 19:33:59 +0000 (18 12:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Sep 2014 19:34:17 +0000 (18 19:34 +0000)
tree804ae61bd1098e97dcdd55f5c2ae5a8712e8c547
parent9065985da2ce2a4f73150ac5eabab29c5d67505d
Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM

BUG=384041
TEST=new tests added

Review URL: https://codereview.chromium.org/561943002

Cr-Commit-Position: refs/heads/master@{#295524}
16 files changed:
chrome/browser/browser_process_impl.cc
chrome/browser/prefs/browser_prefs.cc
chrome/browser/services/gcm/gcm_desktop_utils.cc
chrome/browser/services/gcm/gcm_desktop_utils.h
chrome/browser/services/gcm/gcm_profile_service.cc
components/gcm_driver.gypi
components/gcm_driver/BUILD.gn
components/gcm_driver/DEPS
components/gcm_driver/gcm_channel_status_request.cc
components/gcm_driver/gcm_channel_status_request.h
components/gcm_driver/gcm_channel_status_request_unittest.cc
components/gcm_driver/gcm_channel_status_syncer.cc [new file with mode: 0644]
components/gcm_driver/gcm_channel_status_syncer.h [new file with mode: 0644]
components/gcm_driver/gcm_driver_desktop.cc
components/gcm_driver/gcm_driver_desktop.h
components/gcm_driver/gcm_driver_desktop_unittest.cc