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

Issue 1397913002: [Sync] Componentize local_device_info_provider_impl and test (Closed)

Created:
5 years, 2 months ago by Nicolas Zea
Modified:
5 years, 1 month ago
Reviewers:
stanisc, blundell
CC:
chromium-reviews, tim+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, zea+watch_chromium.org, blundell+watchlist_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Componentize local_device_info_provider_impl and test Pass channel and version info in at construction time, and the blocking pool at initialize time. BUG=396136 Committed: https://crrev.com/035008523b829d1f62db6b2ec825b8ca2aa4736d Cr-Commit-Position: refs/heads/master@{#356447}

Patch Set 1 #

Patch Set 2 : Fix GN #

Total comments: 3

Patch Set 3 : Rebase #

Total comments: 6

Patch Set 4 : Rebase, address comments, fix test #

Patch Set 5 : Rebase #

Total comments: 1

Patch Set 6 : Fix android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -318 lines) Patch
D chrome/browser/sync/glue/local_device_info_provider_impl.h View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/sync/glue/local_device_info_provider_impl.cc View 1 chunk +0 lines, -108 lines 0 comments Download
D chrome/browser/sync/glue/local_device_info_provider_unittest.cc View 1 chunk +0 lines, -93 lines 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_core.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_components_factory_impl.cc View 1 2 3 4 4 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M components/sync_driver.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync_driver/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M components/sync_driver/local_device_info_provider.h View 2 chunks +7 lines, -2 lines 0 comments Download
A + components/sync_driver/local_device_info_provider_impl.h View 1 2 3 4 2 chunks +22 lines, -7 lines 0 comments Download
A + components/sync_driver/local_device_info_provider_impl.cc View 1 2 3 4 5 5 chunks +32 lines, -38 lines 0 comments Download
M components/sync_driver/local_device_info_provider_mock.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M components/sync_driver/local_device_info_provider_mock.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
A + components/sync_driver/local_device_info_provider_unittest.cc View 1 2 3 5 chunks +17 lines, -11 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
Nicolas Zea
+Stan, PTAL
5 years, 2 months ago (2015-10-08 22:49:05 UTC) #2
stanisc
Looks good overall. The only issue I found is that LocalDeviceProviderImpl is still in the ...
5 years, 2 months ago (2015-10-09 17:18:03 UTC) #3
Nicolas Zea
Right now, the plan with componentization is to do the namespace conversions at the end, ...
5 years, 2 months ago (2015-10-09 17:49:16 UTC) #4
stanisc
lgtm
5 years, 2 months ago (2015-10-09 18:00:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397913002/20001
5 years, 2 months ago (2015-10-09 18:07:32 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/121680) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-09 18:14:26 UTC) #9
Nicolas Zea
+Avi for sync_driver DEP on ui/base
5 years, 2 months ago (2015-10-09 21:20:14 UTC) #11
Avi (use Gerrit)
https://codereview.chromium.org/1397913002/diff/40001/chrome/browser/sync/profile_sync_components_factory_impl.cc File chrome/browser/sync/profile_sync_components_factory_impl.cc (right): https://codereview.chromium.org/1397913002/diff/40001/chrome/browser/sync/profile_sync_components_factory_impl.cc#newcode425 chrome/browser/sync/profile_sync_components_factory_impl.cc:425: chrome::GetChannel(), chrome::GetVersionString())); Why don't you also pass in the ...
5 years, 2 months ago (2015-10-10 03:52:51 UTC) #12
Nicolas Zea
Removed the new ui/ dependency. Stan, could you take another look? I had to update ...
5 years, 2 months ago (2015-10-12 17:44:02 UTC) #14
blundell
What's the status of this CL?
5 years, 1 month ago (2015-10-27 16:17:52 UTC) #17
Nicolas Zea
On 2015/10/27 16:17:52, blundell wrote: > What's the status of this CL? Chatted with Stan ...
5 years, 1 month ago (2015-10-27 21:23:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397913002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397913002/100001
5 years, 1 month ago (2015-10-27 21:25:40 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/132890) android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 1 month ago (2015-10-27 21:46:29 UTC) #23
stanisc
https://codereview.chromium.org/1397913002/diff/100001/components/sync_driver/local_device_info_provider_impl.cc File components/sync_driver/local_device_info_provider_impl.cc (right): https://codereview.chromium.org/1397913002/diff/100001/components/sync_driver/local_device_info_provider_impl.cc#newcode26 components/sync_driver/local_device_info_provider_impl.cc:26: return IsTabletUI() ? sync_pb::SyncEnums_DeviceType_TYPE_TABLET Missed this during review: IsTabletUI() ...
5 years, 1 month ago (2015-10-27 22:32:43 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397913002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397913002/120001
5 years, 1 month ago (2015-10-27 22:43:24 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 1 month ago (2015-10-28 00:16:18 UTC) #28
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 00:17:10 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/035008523b829d1f62db6b2ec825b8ca2aa4736d
Cr-Commit-Position: refs/heads/master@{#356447}

Powered by Google App Engine
This is Rietveld 408576698