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

Issue 1907683003: Convert //components/sync_driver from scoped_ptr to std::unique_ptr (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
Reviewers:
pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert //components/sync_driver from scoped_ptr to std::unique_ptr BUG=554298 R=pavely@chromium.org Committed: https://crrev.com/b21a1b10f9a753d3b66e448ca8fa74ac83d5c2cb Cr-Commit-Position: refs/heads/master@{#388843}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Build fix, address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -364 lines) Patch
M components/browser_sync/browser/profile_sync_components_factory_impl.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M components/browser_sync/browser/profile_sync_components_factory_impl.cc View 1 4 chunks +8 lines, -7 lines 0 comments Download
M components/sync_driver/about_sync_util.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/about_sync_util.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/sync_driver/about_sync_util_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M components/sync_driver/backend_data_type_configurer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/backend_migrator_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/data_type_manager_impl_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/sync_driver/device_count_metrics_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_count_metrics_provider_unittest.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M components/sync_driver/device_info_data_type_controller.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/device_info_data_type_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_info_model_type_controller.h View 2 chunks +4 lines, -2 lines 0 comments Download
M components/sync_driver/device_info_service.h View 8 chunks +19 lines, -17 lines 0 comments Download
M components/sync_driver/device_info_service.cc View 19 chunks +36 lines, -34 lines 0 comments Download
M components/sync_driver/device_info_service_unittest.cc View 20 chunks +31 lines, -29 lines 0 comments Download
M components/sync_driver/device_info_sync_service.h View 4 chunks +6 lines, -6 lines 0 comments Download
M components/sync_driver/device_info_sync_service.cc View 4 chunks +8 lines, -7 lines 0 comments Download
M components/sync_driver/device_info_sync_service_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M components/sync_driver/device_info_tracker.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/fake_generic_change_processor.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/sync_driver/fake_generic_change_processor.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/fake_sync_client.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/sync_driver/fake_sync_client.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/fake_sync_service.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/fake_sync_service.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/frontend_data_type_controller.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/sync_driver/frontend_data_type_controller_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync_driver/generic_change_processor.h View 4 chunks +5 lines, -5 lines 0 comments Download
M components/sync_driver/generic_change_processor.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M components/sync_driver/generic_change_processor_factory.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/generic_change_processor_factory.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/generic_change_processor_unittest.cc View 7 chunks +18 lines, -15 lines 0 comments Download
M components/sync_driver/glue/browser_thread_model_worker_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/sync_driver/glue/sync_backend_host.h View 5 chunks +9 lines, -7 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.h View 4 chunks +15 lines, -11 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.cc View 4 chunks +9 lines, -7 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl.h View 8 chunks +12 lines, -11 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl.cc View 10 chunks +13 lines, -11 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl_unittest.cc View 4 chunks +11 lines, -9 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_mock.h View 4 chunks +7 lines, -6 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_mock.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M components/sync_driver/glue/sync_backend_registrar.h View 4 chunks +4 lines, -4 lines 0 comments Download
M components/sync_driver/glue/sync_backend_registrar.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/glue/sync_backend_registrar_unittest.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M components/sync_driver/glue/ui_model_worker_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/sync_driver/local_device_info_provider.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/local_device_info_provider_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/local_device_info_provider_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/local_device_info_provider_mock.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/sync_driver/local_device_info_provider_mock.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/local_device_info_provider_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/non_blocking_data_type_controller.h View 3 chunks +4 lines, -4 lines 0 comments Download
M components/sync_driver/non_blocking_data_type_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/non_ui_data_type_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/non_ui_data_type_controller_unittest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/non_ui_model_type_controller_unittest.cc View 6 chunks +15 lines, -12 lines 0 comments Download
M components/sync_driver/profile_sync_auth_provider.h View 3 chunks +3 lines, -3 lines 0 comments Download
M components/sync_driver/profile_sync_auth_provider.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/profile_sync_auth_provider_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/sync_driver/shared_change_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/shared_change_processor_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M components/sync_driver/startup_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync_driver/sync_api_component_factory.h View 3 chunks +5 lines, -5 lines 0 comments Download
M components/sync_driver/sync_api_component_factory_mock.h View 3 chunks +10 lines, -9 lines 0 comments Download
M components/sync_driver/sync_api_component_factory_mock.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/sync_driver/sync_prefs.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/sync_prefs.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M components/sync_driver/sync_service.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/sync_driver/sync_stopped_reporter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/sync_driver/ui_data_type_controller.h View 3 chunks +3 lines, -3 lines 0 comments Download
M components/sync_driver/ui_data_type_controller.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/sync_driver/ui_data_type_controller_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/sync_driver/ui_model_type_controller_unittest.cc View 6 chunks +14 lines, -11 lines 0 comments Download
M components/sync_sessions/session_data_type_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
dcheng
4 years, 8 months ago (2016-04-20 22:04:10 UTC) #1
pavely
lgtm The reason for build failure is that profile_sync_components_factory_impl.h uses scoped_ptr even though it doesn't ...
4 years, 8 months ago (2016-04-21 17:53:23 UTC) #2
dcheng
Done. I fixed the compile errors slightly differently: - If it's purely because of a ...
4 years, 8 months ago (2016-04-21 18:30:02 UTC) #3
pavely
lgtm
4 years, 8 months ago (2016-04-21 18:34:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907683003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907683003/20001
4 years, 8 months ago (2016-04-21 18:34:57 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-21 19:23:24 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:37:21 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b21a1b10f9a753d3b66e448ca8fa74ac83d5c2cb
Cr-Commit-Position: refs/heads/master@{#388843}

Powered by Google App Engine
This is Rietveld 408576698