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

Issue 2910773003: [Sync] Replace manual DI with SetTestingFactory. (Closed)

Created:
3 years, 7 months ago by skym
Modified:
3 years, 6 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Replace manual DI with SetTestingFactory. Previously we passed in a base::Callback to access the SyncService, but it seems that machinery already exists within BrowserContextKeyedServiceFactory to facilitate that. BUG= Review-Url: https://codereview.chromium.org/2910773003 Cr-Commit-Position: refs/heads/master@{#476042} Committed: https://chromium.googlesource.com/chromium/src/+/1ad46b56059a2f74da00d4c42e604a2090712a73

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -52 lines) Patch
M chrome/browser/ui/webui/sync_internals_message_handler.h View 3 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/sync_internals_message_handler.cc View 6 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/sync_internals_message_handler_unittest.cc View 8 chunks +20 lines, -15 lines 0 comments Download
M components/browser_sync/profile_sync_service.h View 2 chunks +0 lines, -2 lines 0 comments Download
M components/sync/driver/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/fake_sync_service.h View 2 chunks +5 lines, -2 lines 0 comments Download
M components/sync/driver/fake_sync_service.cc View 2 chunks +10 lines, -8 lines 0 comments Download
M components/sync/driver/sync_service.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/ukm/observers/sync_disable_observer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (10 generated)
skym
Hey erg@, hoping to get general feedback on this approach, before sending to rest of ...
3 years, 7 months ago (2017-05-26 22:51:53 UTC) #5
Elliot Glaysher
On 2017/05/26 22:51:53, skym wrote: > Hey erg@, hoping to get general feedback on this ...
3 years, 7 months ago (2017-05-26 23:12:06 UTC) #6
skym
On 2017/05/26 23:12:06, Elliot Glaysher wrote: > On 2017/05/26 22:51:53, skym wrote: > > Hey ...
3 years, 6 months ago (2017-05-30 15:43:55 UTC) #9
skym
PTAL erg@ - keyed_service/core DEP dbeam@ - chrome/browser/ui/webui/* pnoland@ - sync stuff rkaplow@ - components/ukm/*
3 years, 6 months ago (2017-05-30 15:47:46 UTC) #11
Elliot Glaysher
deps lgtm
3 years, 6 months ago (2017-05-30 19:27:57 UTC) #12
Patrick Noland
lgtm
3 years, 6 months ago (2017-05-30 23:11:56 UTC) #13
Dan Beam
lgtm
3 years, 6 months ago (2017-05-31 00:13:06 UTC) #14
rkaplow
lgtm
3 years, 6 months ago (2017-05-31 19:13:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2910773003/1
3 years, 6 months ago (2017-05-31 19:24:00 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 21:47:23 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1ad46b56059a2f74da00d4c42e60...

Powered by Google App Engine
This is Rietveld 408576698