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

Issue 1886913002: Convert //chrome/browser/metrics from scoped_ptr to std::unique_ptr (Closed)

Created:
4 years, 8 months ago by dcheng
Modified:
4 years, 8 months ago
Reviewers:
Ilya Sherman
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-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 //chrome/browser/metrics from scoped_ptr to std::unique_ptr BUG=554298 R=isherman@chromium.org Committed: https://crrev.com/1edb03a4943e4e3de4116adcc031e2dfabbb7805 Cr-Commit-Position: refs/heads/master@{#387347}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -123 lines) Patch
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.h View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 8 chunks +39 lines, -34 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_services_manager_client.h View 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_services_manager_client.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/metrics/chrome_stability_metrics_provider_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/metrics/chromeos_metrics_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chromeos_metrics_provider_unittest.cc View 1 chunk +12 lines, -12 lines 0 comments Download
M chrome/browser/metrics/extensions_metrics_provider.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/extensions_metrics_provider.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/metrics/extensions_metrics_provider_unittest.cc View 4 chunks +8 lines, -10 lines 4 comments Download
M chrome/browser/metrics/first_web_contents_profiler.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/metrics/metrics_memory_details_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/perf/perf_provider_chromeos.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/metrics/perf/perf_provider_chromeos.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/metrics/perf/perf_provider_chromeos_unittest.cc View 10 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/metrics/plugin_metrics_provider_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/thread_watcher.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/thread_watcher_android_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/metrics/thread_watcher_unittest.cc View 5 chunks +9 lines, -7 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-13 23:46:52 UTC) #2
Ilya Sherman
LGTM, with a couple of questions inline: https://codereview.chromium.org/1886913002/diff/1/chrome/browser/metrics/extensions_metrics_provider_unittest.cc File chrome/browser/metrics/extensions_metrics_provider_unittest.cc (right): https://codereview.chromium.org/1886913002/diff/1/chrome/browser/metrics/extensions_metrics_provider_unittest.cc#newcode32 chrome/browser/metrics/extensions_metrics_provider_unittest.cc:32: return std::unique_ptr<metrics::ClientInfo>(); ...
4 years, 8 months ago (2016-04-14 00:59:53 UTC) #3
dcheng
https://codereview.chromium.org/1886913002/diff/1/chrome/browser/metrics/extensions_metrics_provider_unittest.cc File chrome/browser/metrics/extensions_metrics_provider_unittest.cc (right): https://codereview.chromium.org/1886913002/diff/1/chrome/browser/metrics/extensions_metrics_provider_unittest.cc#newcode32 chrome/browser/metrics/extensions_metrics_provider_unittest.cc:32: return std::unique_ptr<metrics::ClientInfo>(); On 2016/04/14 at 00:59:53, Ilya Sherman wrote: ...
4 years, 8 months ago (2016-04-14 01:05:24 UTC) #4
dcheng
(Going to hit CQ, feel free to uncheck if you have further questions)
4 years, 8 months ago (2016-04-14 16:50:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886913002/1
4 years, 8 months ago (2016-04-14 16:50:49 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-14 17:20:38 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 17:22:19 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1edb03a4943e4e3de4116adcc031e2dfabbb7805
Cr-Commit-Position: refs/heads/master@{#387347}

Powered by Google App Engine
This is Rietveld 408576698