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

Issue 319223002: Componentize TiclInvalidationService (Closed)

Created:
6 years, 6 months ago by rlarocque
Modified:
6 years, 6 months ago
CC:
chromium-reviews, blundell
Visibility:
Public.

Description

Componentize TiclInvalidationService Moves gcm_invalidation_bridge and ticl_invalidation_service files from chrome/browser/sync to components/invalidation. Refactors TiclInvalidationService so it no longer depends on chrome/common/chrome_content_client.h. Its only dependency on this file was a call to GetUserAgent(). It was removed by changing the class so that the user agent is specified at construction time. Moves some related tests and test framework classes into components/invalidation. Updates the gyp files to prevent much of the TICL invalidation service code from being built on Android. This is the same setup as before the move, though it does fix a bug where one of the previously componentized files was accidentally enabled for building on Android. BUG=336571 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276838

Patch Set 1 #

Patch Set 2 : Fix gyp #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -1633 lines) Patch
D chrome/browser/invalidation/gcm_invalidation_bridge.h View 1 2 1 chunk +0 lines, -102 lines 0 comments Download
D chrome/browser/invalidation/gcm_invalidation_bridge.cc View 1 chunk +0 lines, -320 lines 0 comments Download
M chrome/browser/invalidation/gcm_invalidation_bridge_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/invalidation/invalidation_service_android_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/invalidation/invalidation_service_test_template.h View 1 chunk +0 lines, -390 lines 0 comments Download
D chrome/browser/invalidation/invalidation_service_test_template.cc View 1 chunk +0 lines, -27 lines 0 comments Download
M chrome/browser/invalidation/profile_invalidation_provider_factory.cc View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
D chrome/browser/invalidation/ticl_invalidation_service.h View 1 2 3 1 chunk +0 lines, -169 lines 0 comments Download
D chrome/browser/invalidation/ticl_invalidation_service.cc View 1 2 3 1 chunk +0 lines, -435 lines 0 comments Download
D chrome/browser/invalidation/ticl_invalidation_service_unittest.cc View 1 2 3 1 chunk +0 lines, -149 lines 0 comments Download
M chrome/browser/invalidation/ticl_profile_settings_provider_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/invalidation.gypi View 1 2 3 5 chunks +11 lines, -2 lines 0 comments Download
M components/invalidation/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + components/invalidation/gcm_invalidation_bridge.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/invalidation/gcm_invalidation_bridge.cc View 1 chunk +1 line, -2 lines 0 comments Download
A + components/invalidation/invalidation_service_test_template.h View 3 chunks +3 lines, -5 lines 0 comments Download
A + components/invalidation/invalidation_service_test_template.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/invalidation/ticl_invalidation_service.h View 1 2 3 4 chunks +6 lines, -3 lines 0 comments Download
A + components/invalidation/ticl_invalidation_service.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
A + components/invalidation/ticl_invalidation_service_unittest.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
rlarocque
This includes the long-awaited componentization of TiclInvalidationService. +pavely for review. +bartfab for comment on removing ...
6 years, 6 months ago (2014-06-06 21:57:56 UTC) #1
pavely
lgtm
6 years, 6 months ago (2014-06-09 16:52:18 UTC) #2
bartfab (slow)
TestBrowserThreadBundle removal lgtm. If the tests all pass, it was obviously no longer needed after ...
6 years, 6 months ago (2014-06-10 11:45:13 UTC) #3
rlarocque
On 2014/06/10 11:45:13, bartfab wrote: > TestBrowserThreadBundle removal lgtm. If the tests all pass, it ...
6 years, 6 months ago (2014-06-10 17:18:24 UTC) #4
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 6 months ago (2014-06-10 17:18:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/319223002/20001
6 years, 6 months ago (2014-06-10 17:20:42 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 23:02:33 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 23:11:53 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/150700) chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72812) linux_chromium_chromeos_clang_dbg ...
6 years, 6 months ago (2014-06-10 23:11:54 UTC) #9
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 6 months ago (2014-06-10 23:22:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/319223002/40001
6 years, 6 months ago (2014-06-10 23:24:13 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 09:15:27 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 09:21:10 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72948)
6 years, 6 months ago (2014-06-11 09:21:11 UTC) #14
rlarocque
+Tim for components/signin approval. An approval from an owner of that directory should be all ...
6 years, 6 months ago (2014-06-11 20:07:32 UTC) #15
tim (not reviewing)
On 2014/06/11 20:07:32, rlarocque wrote: > +Tim for components/signin approval. > > An approval from ...
6 years, 6 months ago (2014-06-12 18:02:38 UTC) #16
rlarocque
On 2014/06/12 18:02:38, timsteele wrote: > On 2014/06/11 20:07:32, rlarocque wrote: > > +Tim for ...
6 years, 6 months ago (2014-06-12 18:09:26 UTC) #17
tim (not reviewing)
signin/ dep LGTM
6 years, 6 months ago (2014-06-12 18:11:34 UTC) #18
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 6 months ago (2014-06-12 18:12:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/319223002/60001
6 years, 6 months ago (2014-06-12 18:13:50 UTC) #20
bartfab (slow)
On 2014/06/12 18:13:50, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 6 months ago (2014-06-12 18:15:29 UTC) #21
rlarocque
On 2014/06/12 18:15:29, bartfab wrote: > On 2014/06/12 18:13:50, I haz the power (commit-bot) wrote: ...
6 years, 6 months ago (2014-06-12 18:32:08 UTC) #22
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 22:50:57 UTC) #23
Message was sent while issue was closed.
Change committed as 276838

Powered by Google App Engine
This is Rietveld 408576698