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

Issue 183013007: [GCM] Stop/restart GCM when the state is forced off/on (Closed)

Created:
6 years, 9 months ago by jianli
Modified:
6 years, 9 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

[GCM] Stop/restart GCM when the state is forced off/on BUG=348642 TEST=new tests added R=dimich@chromium.org, fgorski@chromium.org, tim@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254893

Patch Set 1 #

Total comments: 10

Patch Set 2 : Patch to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -18 lines) Patch
M chrome/browser/services/gcm/gcm_client_mock.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_client_mock.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service.cc View 1 5 chunks +52 lines, -14 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service_unittest.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 2 chunks +9 lines, -1 line 0 comments Download
M google_apis/gcm/engine/gcm_store.h View 1 chunk +3 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.cc View 3 chunks +12 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl_unittest.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M google_apis/gcm/gcm_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M google_apis/gcm/gcm_client_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gcm/gcm_client_impl.cc View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jianli
Tim for chrome/browser/sync changes. Filip and Dmitry for everything.
6 years, 9 months ago (2014-03-04 00:55:59 UTC) #1
Dmitry Titov
https://codereview.chromium.org/183013007/diff/1/chrome/browser/services/gcm/gcm_profile_service.cc File chrome/browser/services/gcm/gcm_profile_service.cc (right): https://codereview.chromium.org/183013007/diff/1/chrome/browser/services/gcm/gcm_profile_service.cc#newcode267 chrome/browser/services/gcm/gcm_profile_service.cc:267: void Load(const base::WeakPtr<GCMProfileService>& service); Note: If you rename GCMClient::Load ...
6 years, 9 months ago (2014-03-04 02:47:51 UTC) #2
jianli
https://codereview.chromium.org/183013007/diff/1/chrome/browser/services/gcm/gcm_profile_service.cc File chrome/browser/services/gcm/gcm_profile_service.cc (right): https://codereview.chromium.org/183013007/diff/1/chrome/browser/services/gcm/gcm_profile_service.cc#newcode267 chrome/browser/services/gcm/gcm_profile_service.cc:267: void Load(const base::WeakPtr<GCMProfileService>& service); On 2014/03/04 02:47:51, Dmitry Titov ...
6 years, 9 months ago (2014-03-04 05:14:25 UTC) #3
Dmitry Titov
Thanks for clarifications! LGTM
6 years, 9 months ago (2014-03-04 18:01:45 UTC) #4
fgorski
LGTM, you can add a TODO for renaming and an explanation why if you don't ...
6 years, 9 months ago (2014-03-04 20:07:49 UTC) #5
jianli
https://codereview.chromium.org/183013007/diff/1/chrome/browser/services/gcm/gcm_profile_service.cc File chrome/browser/services/gcm/gcm_profile_service.cc (right): https://codereview.chromium.org/183013007/diff/1/chrome/browser/services/gcm/gcm_profile_service.cc#newcode581 chrome/browser/services/gcm/gcm_profile_service.cc:581: username_.clear(); On 2014/03/04 20:07:49, Filip Gorski wrote: > Seems ...
6 years, 9 months ago (2014-03-04 20:52:25 UTC) #6
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 9 months ago (2014-03-04 20:54:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/183013007/20001
6 years, 9 months ago (2014-03-04 20:56:15 UTC) #8
jianli
The CQ bit was unchecked by jianli@chromium.org
6 years, 9 months ago (2014-03-04 20:57:24 UTC) #9
tim (not reviewing)
lgtm
6 years, 9 months ago (2014-03-04 21:19:34 UTC) #10
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 9 months ago (2014-03-04 21:29:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/183013007/20001
6 years, 9 months ago (2014-03-04 21:33:32 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 22:13:46 UTC) #13
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=155405
6 years, 9 months ago (2014-03-04 22:13:47 UTC) #14
fgorski
The CQ bit was checked by fgorski@chromium.org
6 years, 9 months ago (2014-03-04 23:00:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/183013007/20001
6 years, 9 months ago (2014-03-04 23:04:33 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 00:12:43 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=274627
6 years, 9 months ago (2014-03-05 00:12:45 UTC) #18
jianli
6 years, 9 months ago (2014-03-05 00:57:27 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 manually as r254893 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698