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

Issue 296053011: Start and stop the GCM service on demand (Closed)

Created:
6 years, 7 months ago by jianli
Modified:
6 years, 7 months ago
Reviewers:
Nicolas Zea, fgorski
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Start and stop the GCM service on demand The GCM service will now be started when there is a consumer. It will be automatically stopped when all consumers are gone. This does not change the existing behavior that the GCM is always started for the signed-in profile since invalidation consumes it. BUG=356716 TEST=tests updated and new tests added TBR=kalman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272380

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix #

Patch Set 3 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -108 lines) Patch
M chrome/browser/extensions/extension_gcm_app_handler_unittest.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/browser/services/gcm/fake_gcm_app_handler.h View 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/services/gcm/fake_gcm_app_handler.cc View 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_driver.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_driver_unittest.cc View 1 2 11 chunks +133 lines, -108 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service_unittest.cc View 1 2 6 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jianli
6 years, 7 months ago (2014-05-21 22:43:51 UTC) #1
Nicolas Zea
gcm LGTM with a couple comments https://codereview.chromium.org/296053011/diff/1/chrome/browser/services/gcm/gcm_driver.cc File chrome/browser/services/gcm/gcm_driver.cc (right): https://codereview.chromium.org/296053011/diff/1/chrome/browser/services/gcm/gcm_driver.cc#newcode707 chrome/browser/services/gcm/gcm_driver.cc:707: // Has any ...
6 years, 7 months ago (2014-05-22 17:06:31 UTC) #2
fgorski
lgtm mod the profile reset (following Nicolas's comment)
6 years, 7 months ago (2014-05-22 17:56:42 UTC) #3
jianli
https://codereview.chromium.org/296053011/diff/1/chrome/browser/services/gcm/gcm_driver.cc File chrome/browser/services/gcm/gcm_driver.cc (right): https://codereview.chromium.org/296053011/diff/1/chrome/browser/services/gcm/gcm_driver.cc#newcode707 chrome/browser/services/gcm/gcm_driver.cc:707: // Has any app requested the service? On 2014/05/22 ...
6 years, 7 months ago (2014-05-22 18:09:26 UTC) #4
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-22 18:11:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/296053011/20001
6 years, 7 months ago (2014-05-22 18:13:42 UTC) #6
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-22 20:38:57 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/296053011/40001
6 years, 7 months ago (2014-05-22 20:39:48 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 00:25:45 UTC) #9
Message was sent while issue was closed.
Change committed as 272380

Powered by Google App Engine
This is Rietveld 408576698