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

Issue 561943002: Reland: Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM (Closed)

Created:
6 years, 3 months ago by jianli
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reland: Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM BUG=384041 TEST=new tests added Committed: https://crrev.com/3c23f4a188e171998f3042ad62f4aa5717e66d63 Cr-Commit-Position: refs/heads/master@{#295524} Committed: https://crrev.com/2dc910b0b9082050e5be6c81b00dddf97ffa3e6e Cr-Commit-Position: refs/heads/master@{#295645}

Patch Set 1 #

Patch Set 2 : Sync #

Patch Set 3 : Don't register GCM prefs on Android #

Patch Set 4 : Fix try jobs #

Total comments: 12

Patch Set 5 : Address comments #

Total comments: 2

Patch Set 6 : Address bauer's comment #

Total comments: 14

Patch Set 7 : Address zea's comments #

Patch Set 8 : Sync #

Patch Set 9 : Fix CrOS test failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+607 lines, -21 lines) Patch
M chrome/browser/browser_process_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_desktop_utils.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_desktop_utils.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver.gypi View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M components/gcm_driver/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M components/gcm_driver/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/gcm_driver/gcm_channel_status_request.h View 1 chunk +2 lines, -3 lines 0 comments Download
M components/gcm_driver/gcm_channel_status_request.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_channel_status_request_unittest.cc View 4 chunks +6 lines, -9 lines 0 comments Download
A components/gcm_driver/gcm_channel_status_syncer.h View 1 2 3 4 5 6 1 chunk +98 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_channel_status_syncer.cc View 1 2 3 4 5 6 1 chunk +183 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_desktop.h View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_desktop.cc View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -1 line 0 comments Download
M components/gcm_driver/gcm_driver_desktop_unittest.cc View 1 2 3 4 5 6 7 11 chunks +264 lines, -6 lines 0 comments Download

Messages

Total messages: 29 (8 generated)
jianli
thestig for changes to chrome/browser/browser_process_impl.cc and chrome/browser/prefs/browser_prefs.cc. zea and fgorski for all GCM changes.
6 years, 3 months ago (2014-09-10 21:57:18 UTC) #3
Lei Zhang
On 2014/09/10 21:57:18, jianli wrote: > thestig for changes to chrome/browser/browser_process_impl.cc and > chrome/browser/prefs/browser_prefs.cc. Non-GCM ...
6 years, 3 months ago (2014-09-10 22:53:54 UTC) #4
jianli
On 2014/09/10 22:53:54, Lei Zhang wrote: > On 2014/09/10 21:57:18, jianli wrote: > > thestig ...
6 years, 3 months ago (2014-09-10 23:07:37 UTC) #5
fgorski
Mostly looks good. https://codereview.chromium.org/561943002/diff/60001/components/gcm_driver/gcm_channel_status_syncer.cc File components/gcm_driver/gcm_channel_status_syncer.cc (right): https://codereview.chromium.org/561943002/diff/60001/components/gcm_driver/gcm_channel_status_syncer.cc#newcode115 components/gcm_driver/gcm_channel_status_syncer.cc:115: last_check_time_ = base::Time::Now(); injected clock is ...
6 years, 3 months ago (2014-09-11 18:24:36 UTC) #6
jianli
https://codereview.chromium.org/561943002/diff/60001/components/gcm_driver/gcm_channel_status_syncer.cc File components/gcm_driver/gcm_channel_status_syncer.cc (right): https://codereview.chromium.org/561943002/diff/60001/components/gcm_driver/gcm_channel_status_syncer.cc#newcode115 components/gcm_driver/gcm_channel_status_syncer.cc:115: last_check_time_ = base::Time::Now(); On 2014/09/11 18:24:35, fgorski wrote: > ...
6 years, 3 months ago (2014-09-11 21:04:31 UTC) #7
jianli
Adding bauerb for approval on adding dependency on components/pref_registry.
6 years, 3 months ago (2014-09-11 21:05:29 UTC) #9
fgorski
lgtm
6 years, 3 months ago (2014-09-11 21:21:24 UTC) #10
Bernhard Bauer
LGTM w/ a nit in pref registration (I don't think you need approval from an ...
6 years, 3 months ago (2014-09-12 08:56:41 UTC) #12
jianli
https://codereview.chromium.org/561943002/diff/90017/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/561943002/diff/90017/chrome/browser/prefs/browser_prefs.cc#newcode294 chrome/browser/prefs/browser_prefs.cc:294: BackgroundModeManager::RegisterPrefs(registry); On 2014/09/12 08:56:40, Bernhard Bauer wrote: > Can ...
6 years, 3 months ago (2014-09-13 18:44:46 UTC) #13
Nicolas Zea
Mostly nits, with a couple questions https://codereview.chromium.org/561943002/diff/110001/components/gcm_driver/gcm_channel_status_syncer.cc File components/gcm_driver/gcm_channel_status_syncer.cc (right): https://codereview.chromium.org/561943002/diff/110001/components/gcm_driver/gcm_channel_status_syncer.cc#newcode99 components/gcm_driver/gcm_channel_status_syncer.cc:99: if (request_) Note ...
6 years, 3 months ago (2014-09-15 22:35:59 UTC) #14
jianli
https://codereview.chromium.org/561943002/diff/110001/components/gcm_driver/gcm_channel_status_syncer.cc File components/gcm_driver/gcm_channel_status_syncer.cc (right): https://codereview.chromium.org/561943002/diff/110001/components/gcm_driver/gcm_channel_status_syncer.cc#newcode99 components/gcm_driver/gcm_channel_status_syncer.cc:99: if (request_) On 2014/09/15 22:35:58, Nicolas Zea wrote: > ...
6 years, 3 months ago (2014-09-16 01:07:45 UTC) #15
Nicolas Zea
lgtm
6 years, 3 months ago (2014-09-18 16:47:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/561943002/130001
6 years, 3 months ago (2014-09-18 17:08:57 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/11872) ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/11070) win8_chromium_rel ...
6 years, 3 months ago (2014-09-18 17:13:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/561943002/150001
6 years, 3 months ago (2014-09-18 18:36:47 UTC) #22
commit-bot: I haz the power
Committed patchset #8 (id:150001) as 2c1958e619e9eb20b03bbee350f95e9d91add0cb
6 years, 3 months ago (2014-09-18 19:34:06 UTC) #23
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/3c23f4a188e171998f3042ad62f4aa5717e66d63 Cr-Commit-Position: refs/heads/master@{#295524}
6 years, 3 months ago (2014-09-18 19:34:49 UTC) #24
Dan Beam
A revert of this CL (patchset #8 id:150001) has been created in https://codereview.chromium.org/582913003/ by dbeam@chromium.org. ...
6 years, 3 months ago (2014-09-18 21:04:32 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/561943002/170001
6 years, 3 months ago (2014-09-19 01:44:16 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:170001) as 6c0ef6fee7a28913faf5b34c06bc6a559eec9bf7
6 years, 3 months ago (2014-09-19 02:43:07 UTC) #28
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 02:44:12 UTC) #29
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2dc910b0b9082050e5be6c81b00dddf97ffa3e6e
Cr-Commit-Position: refs/heads/master@{#295645}

Powered by Google App Engine
This is Rietveld 408576698