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

Issue 255443005: Remove Profile dependency from TiclInvalidationService (Closed)

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

Description

Remove Profile dependency from TiclInvalidationService This CL introduces a TicSettingsProvider abstraction that allows TiclInvalidationService to retrieve configuration settings without having to directly observe a Profile's PrefStore. The CL completes the work on removing the Profile dependency from TiclInvalidationService. BUG=358696 TEST=New and updated unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266853

Patch Set 1 #

Total comments: 8

Patch Set 2 : Shortened class and file names. #

Patch Set 3 : Fixed nit. #

Patch Set 4 : Compilation fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+405 lines, -158 lines) Patch
M chrome/browser/invalidation/invalidation_service_factory.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.h View 1 7 chunks +12 lines, -10 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.cc View 1 7 chunks +12 lines, -28 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service_unittest.cc View 1 2 3 6 chunks +90 lines, -118 lines 0 comments Download
A chrome/browser/invalidation/ticl_profile_settings_provider.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/invalidation/ticl_profile_settings_provider.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/invalidation/ticl_profile_settings_provider_unittest.cc View 1 1 chunk +110 lines, -0 lines 0 comments Download
A chrome/browser/invalidation/ticl_settings_provider.h View 1 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/invalidation/ticl_settings_provider.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
bartfab (slow)
Hi Daniel, Could you take a look? This CL completes the work on removing the ...
6 years, 8 months ago (2014-04-24 15:14:55 UTC) #1
dcheng
LGTM with nits. https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/invalidation_service_factory.cc File chrome/browser/invalidation/invalidation_service_factory.cc (right): https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/invalidation_service_factory.cc#newcode63 chrome/browser/invalidation/invalidation_service_factory.cc:63: if (profile->IsManaged()) { Nit: Not sure ...
6 years, 8 months ago (2014-04-24 18:26:54 UTC) #2
bartfab (slow)
https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/invalidation_service_factory.cc File chrome/browser/invalidation/invalidation_service_factory.cc (right): https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/invalidation_service_factory.cc#newcode63 chrome/browser/invalidation/invalidation_service_factory.cc:63: if (profile->IsManaged()) { On 2014/04/24 18:26:54, dcheng wrote: > ...
6 years, 8 months ago (2014-04-24 19:14:48 UTC) #3
dcheng
https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h File chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h (right): https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h#newcode30 chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h:30: Profile* profile_; On 2014/04/24 19:14:48, bartfab wrote: > On ...
6 years, 8 months ago (2014-04-24 21:02:18 UTC) #4
bartfab (slow)
https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h File chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h (right): https://codereview.chromium.org/255443005/diff/1/chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h#newcode30 chrome/browser/invalidation/ticl_invalidation_service_profile_settings_provider.h:30: Profile* profile_; On 2014/04/24 21:02:18, dcheng wrote: > On ...
6 years, 8 months ago (2014-04-25 08:51:27 UTC) #5
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-04-29 08:03:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/255443005/30001
6 years, 7 months ago (2014-04-29 08:03:37 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 08:13:29 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 7 months ago (2014-04-29 08:13:29 UTC) #9
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-04-29 08:21:24 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/255443005/50001
6 years, 7 months ago (2014-04-29 08:22:13 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-29 09:49:33 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-04-29 09:49:33 UTC) #13
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 7 months ago (2014-04-29 10:01:03 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/255443005/50001
6 years, 7 months ago (2014-04-29 10:01:24 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 11:52:49 UTC) #16
Message was sent while issue was closed.
Change committed as 266853

Powered by Google App Engine
This is Rietveld 408576698