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

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, asvitkine+watch_chromium.org, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dgn+watch_chromium.org, jam, mcwilliams+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_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/[f-n]* from scoped_ptr to std::unique_ptr BUG=554298 R=danakj@chromium.org TBR=jochen@chromium.org,thestig@chromium.org Committed: https://crrev.com/84c358e7a3b1658bf396d39716fb0fffbb0aa018 Cr-Commit-Position: refs/heads/master@{#389715}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : . #

Patch Set 4 : Really fix build #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : … #

Unified diffs Side-by-side diffs Delta from patch set Stats (+444 lines, -376 lines) Patch
M chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/preferences/important_sites_util_unittest.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/net/nss_context_chromeos_browsertest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/favicon/content/content_favicon_driver_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/favicon/core/favicon_driver_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/favicon/core/favicon_handler_unittest.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M components/favicon/core/favicon_service.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M components/favicon/core/favicon_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/favicon/core/large_icon_service.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M components/favicon/core/large_icon_service_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M components/favicon_base/fallback_icon_url_parser_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/favicon_base/favicon_types.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/favicon_base/favicon_url_parser_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/favicon_base/large_icon_url_parser_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/feedback/anonymizer_tool.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/feedback/anonymizer_tool.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/feedback/feedback_common.h View 5 chunks +12 lines, -9 lines 0 comments Download
M components/feedback/feedback_common.cc View 1 5 chunks +21 lines, -19 lines 0 comments Download
M components/feedback/feedback_data.h View 2 chunks +7 lines, -6 lines 0 comments Download
M components/feedback/feedback_data.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M components/feedback/feedback_data_unittest.cc View 1 3 chunks +9 lines, -8 lines 0 comments Download
M components/feedback/feedback_uploader.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/feedback/feedback_uploader_delegate.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M components/feedback/feedback_uploader_unittest.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M components/feedback/tracing_manager.h View 3 chunks +5 lines, -4 lines 0 comments Download
M components/feedback/tracing_manager.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/filesystem/directory_impl.h View 3 chunks +4 lines, -3 lines 0 comments Download
M components/filesystem/directory_impl.cc View 1 4 chunks +3 lines, -5 lines 0 comments Download
M components/filesystem/file_system_app.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/filesystem/file_system_impl.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M components/filesystem/public/cpp/prefs/filesystem_json_pref_store.h View 6 chunks +9 lines, -9 lines 0 comments Download
M components/filesystem/public/cpp/prefs/filesystem_json_pref_store.cc View 7 chunks +13 lines, -10 lines 0 comments Download
M components/filesystem/public/cpp/prefs/pref_service_factory.h View 2 chunks +4 lines, -3 lines 0 comments Download
M components/filesystem/public/cpp/prefs/pref_service_factory.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M components/flags_ui/flags_state_unittest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M components/google/core/browser/google_url_tracker.h View 4 chunks +6 lines, -5 lines 0 comments Download
M components/google/core/browser/google_url_tracker.cc View 1 2 chunks +6 lines, -5 lines 0 comments Download
M components/google/core/browser/google_url_tracker_unittest.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M components/infobars/core/confirm_infobar_delegate.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/infobars/core/infobar.h View 3 chunks +3 lines, -3 lines 0 comments Download
M components/infobars/core/infobar.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/infobars/core/infobar_manager.h View 4 chunks +5 lines, -5 lines 0 comments Download
M components/infobars/core/infobar_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/infobars/core/simple_alert_infobar_delegate.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/keyed_service/content/browser_context_dependency_manager.h View 2 chunks +4 lines, -2 lines 0 comments Download
M components/keyed_service/content/browser_context_dependency_manager.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/keyed_service/content/browser_context_keyed_service_factory.h View 1 3 chunks +5 lines, -3 lines 0 comments Download
M components/keyed_service/content/browser_context_keyed_service_factory.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/keyed_service/core/keyed_service_factory.h View 3 chunks +4 lines, -4 lines 0 comments Download
M components/keyed_service/core/keyed_service_factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/keyed_service/core/keyed_service_shutdown_notifier.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/keyed_service/core/keyed_service_shutdown_notifier.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/keyed_service/ios/browser_state_keyed_service_factory.h View 1 4 chunks +6 lines, -5 lines 0 comments Download
M components/keyed_service/ios/browser_state_keyed_service_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/leveldb/env_mojo.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/leveldb/leveldb_app.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/leveldb/leveldb_database_impl.h View 3 chunks +6 lines, -5 lines 0 comments Download
M components/leveldb/leveldb_database_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/leveldb/leveldb_mojo_proxy.h View 3 chunks +2 lines, -2 lines 0 comments Download
M components/leveldb/leveldb_mojo_proxy.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/leveldb/leveldb_service_impl.cc View 1 5 chunks +8 lines, -4 lines 0 comments Download
M components/leveldb_proto/leveldb_database.h View 2 chunks +3 lines, -3 lines 0 comments Download
M components/leveldb_proto/leveldb_database.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M components/leveldb_proto/proto_database.h View 3 chunks +4 lines, -4 lines 0 comments Download
M components/leveldb_proto/proto_database_impl.h View 11 chunks +15 lines, -13 lines 0 comments Download
M components/leveldb_proto/proto_database_impl_unittest.cc View 1 16 chunks +28 lines, -24 lines 0 comments Download
M components/leveldb_proto/testing/fake_db.h View 7 chunks +9 lines, -8 lines 0 comments Download
M components/login/screens/screen_context.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/login/screens/screen_context.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M components/login/screens/screen_context_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/memory_pressure/memory_pressure_monitor.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/memory_pressure/memory_pressure_monitor_unittest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M components/metrics/data_use_tracker.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/metrics/stability_metrics_helper_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/metrics_services_manager/metrics_services_manager.h View 4 chunks +7 lines, -6 lines 0 comments Download
M components/metrics_services_manager/metrics_services_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/metrics_services_manager/metrics_services_manager_client.h View 2 chunks +5 lines, -4 lines 0 comments Download
M components/navigation_interception/intercept_navigation_delegate.h View 2 chunks +4 lines, -3 lines 0 comments Download
M components/navigation_interception/intercept_navigation_delegate.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M components/navigation_interception/intercept_navigation_throttle_unittest.cc View 1 4 chunks +13 lines, -10 lines 0 comments Download
M components/net_log/chrome_net_log.h View 2 chunks +4 lines, -4 lines 0 comments Download
M components/net_log/chrome_net_log.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/net_log/net_log_temp_file.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/net_log/net_log_temp_file.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/net_log/net_log_temp_file_unittest.cc View 4 chunks +7 lines, -6 lines 0 comments Download
M components/network_hints/renderer/dns_prefetch_queue.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M components/network_time/network_time_tracker.h View 3 chunks +6 lines, -5 lines 0 comments Download
M components/network_time/network_time_tracker.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/network_time/network_time_tracker_unittest.cc View 1 4 chunks +7 lines, -7 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.h View 3 chunks +3 lines, -3 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_service.h View 1 5 chunks +9 lines, -7 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service.cc View 10 chunks +16 lines, -15 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 4 chunks +8 lines, -5 lines 0 comments Download
M components/sync_bookmarks/bookmark_change_processor.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
dcheng
https://codereview.chromium.org/1918083002/diff/20001/components/feedback/feedback_common.cc File components/feedback/feedback_common.cc (right): https://codereview.chromium.org/1918083002/diff/20001/components/feedback/feedback_common.cc#newcode40 components/feedback/feedback_common.cc:40: std::unique_ptr<std::string> LogsToString( I rewrote some bonus things in this ...
4 years, 8 months ago (2016-04-26 00:11:42 UTC) #1
danakj
Some new stuff in chrome/ :) chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc:101:3: erro https://codereview.chromium.org/1918083002/diff/20001/components/ssl_errors/error_classification_unittest.cc File components/ssl_errors/error_classification_unittest.cc (right): https://codereview.chromium.org/1918083002/diff/20001/components/ssl_errors/error_classification_unittest.cc#newcode8 components/ssl_errors/error_classification_unittest.cc:8: #include ...
4 years, 8 months ago (2016-04-26 01:36:51 UTC) #2
danakj
LGTM https://codereview.chromium.org/1918083002/diff/20001/components/keyed_service/core/keyed_service_factory.h File components/keyed_service/core/keyed_service_factory.h (right): https://codereview.chromium.org/1918083002/diff/20001/components/keyed_service/core/keyed_service_factory.h#newcode36 components/keyed_service/core/keyed_service_factory.h:36: typedef std::unique_ptr<KeyedService> (*TestingFactoryFunction)( using if u want
4 years, 8 months ago (2016-04-26 01:40:16 UTC) #3
dcheng
Hopefully fixed the build too. https://codereview.chromium.org/1918083002/diff/20001/components/keyed_service/core/keyed_service_factory.h File components/keyed_service/core/keyed_service_factory.h (right): https://codereview.chromium.org/1918083002/diff/20001/components/keyed_service/core/keyed_service_factory.h#newcode36 components/keyed_service/core/keyed_service_factory.h:36: typedef std::unique_ptr<KeyedService> (*TestingFactoryFunction)( On ...
4 years, 8 months ago (2016-04-26 03:55:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918083002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918083002/40001
4 years, 8 months ago (2016-04-26 03:55:58 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/56654) linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, ...
4 years, 8 months ago (2016-04-26 04:13:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918083002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918083002/60001
4 years, 8 months ago (2016-04-26 04:18:02 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/56234) android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 8 months ago (2016-04-26 04:35:37 UTC) #14
dcheng
+thestig as well since there are some (trivial) fixes in //chrome now as well.
4 years, 8 months ago (2016-04-26 04:38:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918083002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918083002/80001
4 years, 8 months ago (2016-04-26 04:38:49 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/160407)
4 years, 8 months ago (2016-04-26 04:57:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918083002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918083002/100001
4 years, 8 months ago (2016-04-26 05:47:10 UTC) #25
Lei Zhang
On 2016/04/26 04:57:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-04-26 05:55:21 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/160431)
4 years, 8 months ago (2016-04-26 06:06:56 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918083002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918083002/120001
4 years, 8 months ago (2016-04-26 06:16:34 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-26 07:06:56 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 07:08:52 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/84c358e7a3b1658bf396d39716fb0fffbb0aa018
Cr-Commit-Position: refs/heads/master@{#389715}

Powered by Google App Engine
This is Rietveld 408576698