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

Issue 1907043002: Convert //components/prefs from scoped_ptr to std::unique_ptr (Closed)

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

Description

Convert //components/prefs from scoped_ptr to std::unique_ptr BUG=554298 R=gab@chromium.org Committed: https://crrev.com/5f043bc0ea7c069e3ef5e6ef903b98f4e84ec4cb Cr-Commit-Position: refs/heads/master@{#389198}

Patch Set 1 #

Patch Set 2 : IWYU fixes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -223 lines) Patch
M components/flags_ui/flags_state_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/data_use_tracker.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/stability_metrics_helper_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/prefs/default_pref_store.h View 1 chunk +3 lines, -2 lines 0 comments Download
M components/prefs/default_pref_store.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/prefs/default_pref_store_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M components/prefs/json_pref_store.h View 10 chunks +12 lines, -12 lines 0 comments Download
M components/prefs/json_pref_store.cc View 10 chunks +20 lines, -19 lines 0 comments Download
M components/prefs/json_pref_store_unittest.cc View 37 chunks +61 lines, -53 lines 0 comments Download
M components/prefs/overlay_user_pref_store.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/prefs/overlay_user_pref_store.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M components/prefs/overlay_user_pref_store_unittest.cc View 15 chunks +26 lines, -25 lines 0 comments Download
M components/prefs/pref_change_registrar_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/prefs/pref_filter.h View 3 chunks +5 lines, -4 lines 0 comments Download
M components/prefs/pref_member.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/prefs/pref_registry.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/prefs/pref_service.h View 5 chunks +8 lines, -7 lines 0 comments Download
M components/prefs/pref_service.cc View 5 chunks +11 lines, -9 lines 0 comments Download
M components/prefs/pref_service_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M components/prefs/pref_service_factory.cc View 1 chunk +10 lines, -17 lines 0 comments Download
M components/prefs/pref_service_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/prefs/pref_value_map.h View 3 chunks +3 lines, -3 lines 0 comments Download
M components/prefs/pref_value_map.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M components/prefs/pref_value_map_unittest.cc View 9 chunks +21 lines, -19 lines 0 comments Download
M components/prefs/pref_value_store_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M components/prefs/testing_pref_service.h View 2 chunks +4 lines, -2 lines 0 comments Download
M components/prefs/testing_pref_store.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/prefs/testing_pref_store.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M components/prefs/value_map_pref_store.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/prefs/value_map_pref_store.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/prefs/writeable_pref_store.h View 3 chunks +3 lines, -3 lines 0 comments Download
M components/startup_metric_utils/browser/startup_metric_utils.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/syncable_prefs/pref_service_syncable_factory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/user_prefs/tracked/interceptable_pref_filter.h View 1 1 chunk +1 line, -0 lines 2 comments Download
M components/web_resource/eula_accepted_notifier_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
dcheng
This is largely a search and replace. There's probably some IWYU errors (files that don't ...
4 years, 8 months ago (2016-04-21 21:34:04 UTC) #2
Alexei Svitkine (slow)
lgtm for components/metrics
4 years, 8 months ago (2016-04-21 21:35:24 UTC) #3
gab
lgtm % comment https://codereview.chromium.org/1907043002/diff/20001/components/user_prefs/tracked/interceptable_pref_filter.h File components/user_prefs/tracked/interceptable_pref_filter.h (right): https://codereview.chromium.org/1907043002/diff/20001/components/user_prefs/tracked/interceptable_pref_filter.h#newcode9 components/user_prefs/tracked/interceptable_pref_filter.h:9: #include "base/memory/scoped_ptr.h" Doesn't this conflict with ...
4 years, 8 months ago (2016-04-22 18:23:08 UTC) #4
dcheng
https://codereview.chromium.org/1907043002/diff/20001/components/user_prefs/tracked/interceptable_pref_filter.h File components/user_prefs/tracked/interceptable_pref_filter.h (right): https://codereview.chromium.org/1907043002/diff/20001/components/user_prefs/tracked/interceptable_pref_filter.h#newcode9 components/user_prefs/tracked/interceptable_pref_filter.h:9: #include "base/memory/scoped_ptr.h" On 2016/04/22 at 18:23:08, gab wrote: > ...
4 years, 8 months ago (2016-04-22 18:26:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907043002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907043002/20001
4 years, 8 months ago (2016-04-22 18:27:16 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-22 19:09:15 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:51:08 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5f043bc0ea7c069e3ef5e6ef903b98f4e84ec4cb
Cr-Commit-Position: refs/heads/master@{#389198}

Powered by Google App Engine
This is Rietveld 408576698