|
Device info datatype should be moved to components/sync_driver.
Moving device_info* and local_device_info_provider.h to components/sync_driver
and updating namespaces for the related classes from browsing_sync to sync_driver.
Most of the changes are mechanical - trivial changes of header files and namespaces.
There are just few less trivial changes:
1) I've removed GetClientName from DeviceInfo because it depended on content/public.
Instead I've inlined GetClientName code (which is rather trivial) in two places where
it was used, including supervised_user_registration_utility.cc.
That required me to update DEPS file for supervised_user. There isn't anything new
in reality - these dependencies already existed indirectly.
2) Added two extra parameters to DeviceInfoDataTypeController to avoid having
direct dependencies on the browser.
TBR=pkasting@chromium.org,yoz@chromium.org
BUG= 396136
Committed: https://crrev.com/d0df01813574affc20bb17dfac783ad325d4bb06
Cr-Commit-Position: refs/heads/master@{#296895}
Total comments: 7
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+189 lines, -1023 lines) |
Patch |
 |
M |
chrome/browser/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sessions/sessions_apitest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/supervised_user/supervised_user_registration_utility.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info.h
|
View
|
|
1 chunk |
+0 lines, -106 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info.cc
|
View
|
|
1 chunk |
+0 lines, -120 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info_data_type_controller.h
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info_data_type_controller.cc
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/device_info_data_type_controller_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info_sync_service.h
|
View
|
|
1 chunk |
+0 lines, -108 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info_sync_service.cc
|
View
|
|
1 chunk |
+0 lines, -343 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/device_info_sync_service_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/device_info_tracker.h
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/history_delete_directives_data_type_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
chrome/browser/sync/glue/local_device_info_provider.h
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/local_device_info_provider_impl.h
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/local_device_info_provider_impl.cc
|
View
|
|
5 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/local_device_info_provider_mock.h
|
View
|
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/local_device_info_provider_mock.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/local_device_info_provider_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory.h
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_impl.cc
|
View
|
|
6 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_mock.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_components_factory_mock.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
|
6 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
|
6 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_mock.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/session_data_type_controller.h
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/session_data_type_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sessions_sync_manager.h
|
View
|
|
5 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sessions_sync_manager.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/wrench_menu/wrench_menu_controller_unittest.mm
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/history_ui.cc
|
View
|
1
2
3
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver.gypi
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/sync_driver/BUILD.gn
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info.h
|
View
|
|
4 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info.cc
|
View
|
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info_data_type_controller.h
|
View
|
1
2
3
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info_data_type_controller.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info_sync_service.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info_sync_service.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/device_info_tracker.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
components/sync_driver/local_device_info_provider.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 13 (3 generated)
|