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

Issue 238983007: Provide GCMService to TiclInvalidationService as an explicit dependency (Closed)

Created:
6 years, 8 months ago by bartfab (slow)
Modified:
6 years, 7 months ago
Reviewers:
Nicolas Zea, dcheng
CC:
chromium-reviews
Visibility:
Public.

Description

Provide GCMService to TiclInvalidationService as an explicit dependency This CL further reduces TiclInvalidationService's dependency on Profile. Instead of TiclInvalidationService accessing the GCMProfileServiceFactory, it is now given an GCMService as an explicit dependency. BUG=362083 TEST=Updated unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266596

Patch Set 1 #

Patch Set 2 : Made GCMService an explicit dependency. #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M chrome/browser/invalidation/invalidation_service_factory.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.cc View 1 2 4 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service_unittest.cc View 1 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
bartfab (slow)
Hi Daniel, Could you take a look at chrome/browser/invalidation/*? Hi Nicolas, Could you take a ...
6 years, 8 months ago (2014-04-16 16:37:01 UTC) #1
dcheng
LGTM. What's the advantage to doing this lazily? Can this block startup or something?
6 years, 8 months ago (2014-04-16 16:42:18 UTC) #2
bartfab (slow)
On 2014/04/16 16:42:18, dcheng wrote: > LGTM. > > What's the advantage to doing this ...
6 years, 8 months ago (2014-04-16 16:47:15 UTC) #3
dcheng
OK, I think you probably have better perspective on this than I do, so it's ...
6 years, 8 months ago (2014-04-16 16:50:51 UTC) #4
bartfab (slow)
On 2014/04/16 16:50:51, dcheng wrote: > OK, I think you probably have better perspective on ...
6 years, 8 months ago (2014-04-16 17:05:05 UTC) #5
Nicolas Zea
GCM is already being kicked off at startup if you're signed in (via sync), and ...
6 years, 8 months ago (2014-04-16 17:49:52 UTC) #6
bartfab (slow)
As advised, I made GCMService a construction-time dependency. This simplifies the code.
6 years, 8 months ago (2014-04-16 18:35:59 UTC) #7
dcheng
On 2014/04/16 18:35:59, bartfab wrote: > As advised, I made GCMService a construction-time dependency. This ...
6 years, 8 months ago (2014-04-16 18:39:54 UTC) #8
Nicolas Zea
lgtm
6 years, 8 months ago (2014-04-16 19:01:08 UTC) #9
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-04-28 14:21:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/238983007/40001
6 years, 7 months ago (2014-04-28 14:22:09 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 15:01:48 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 7 months ago (2014-04-28 15:01:48 UTC) #13
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-04-28 15:08:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/238983007/40001
6 years, 7 months ago (2014-04-28 15:08:51 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 15:36:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 7 months ago (2014-04-28 15:36:27 UTC) #17
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-04-28 16:51:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/238983007/40001
6 years, 7 months ago (2014-04-28 16:51:24 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 17:36:31 UTC) #20
Message was sent while issue was closed.
Change committed as 266596

Powered by Google App Engine
This is Rietveld 408576698