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

Issue 1780993002: Break global impact of PersistentHistogramAllocator into a separate class. (Closed)

Created:
4 years, 9 months ago by bcwhite
Modified:
4 years, 8 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@refactor-hp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Break global impact of PersistentHistogramAllocator into a separate class. BUG=546019 TBR=grt grt: setup/installer (no logic changes, just names) Committed: https://crrev.com/5e748c6dca3b8f585c295956f192ca7c34cbe4b7 Cr-Commit-Position: refs/heads/master@{#385367}

Patch Set 1 #

Patch Set 2 : updated everything to use new Global class #

Total comments: 11

Patch Set 3 : addressed review comments by Alexei #

Total comments: 2

Patch Set 4 : rebased #

Patch Set 5 : make single-argument constructor to be 'explicit' #

Patch Set 6 : fixed bad formatting from upstream scoped_ptr change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -225 lines) Patch
M base/metrics/histogram.cc View 1 2 3 4 5 3 chunks +3 lines, -10 lines 0 comments Download
M base/metrics/histogram_unittest.cc View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M base/metrics/persistent_histogram_allocator.h View 1 2 3 4 5 chunks +94 lines, -45 lines 0 comments Download
M base/metrics/persistent_histogram_allocator.cc View 1 2 3 4 chunks +139 lines, -131 lines 0 comments Download
M base/metrics/persistent_histogram_allocator_unittest.cc View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M base/metrics/sparse_histogram.cc View 1 2 3 2 chunks +1 line, -8 lines 0 comments Download
M base/metrics/sparse_histogram_unittest.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M base/metrics/statistics_recorder.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M base/metrics/statistics_recorder_unittest.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/installer/setup/installer_metrics.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M components/metrics/file_metrics_provider_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (10 generated)
bcwhite
4 years, 8 months ago (2016-04-01 18:23:48 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/1780993002/diff/80001/base/metrics/persistent_histogram_allocator.h File base/metrics/persistent_histogram_allocator.h (right): https://codereview.chromium.org/1780993002/diff/80001/base/metrics/persistent_histogram_allocator.h#newcode42 base/metrics/persistent_histogram_allocator.h:42: ~PersistentHistogramAllocator(); This should be virtual since there is a ...
4 years, 8 months ago (2016-04-01 19:52:40 UTC) #6
bcwhite
https://codereview.chromium.org/1780993002/diff/80001/base/metrics/persistent_histogram_allocator.h File base/metrics/persistent_histogram_allocator.h (right): https://codereview.chromium.org/1780993002/diff/80001/base/metrics/persistent_histogram_allocator.h#newcode171 base/metrics/persistent_histogram_allocator.h:171: class BASE_EXPORT GlobalHistogramAllocator On 2016/04/01 19:52:40, Alexei Svitkine wrote: ...
4 years, 8 months ago (2016-04-01 20:24:16 UTC) #7
bcwhite
https://codereview.chromium.org/1780993002/diff/80001/base/metrics/persistent_histogram_allocator.h File base/metrics/persistent_histogram_allocator.h (right): https://codereview.chromium.org/1780993002/diff/80001/base/metrics/persistent_histogram_allocator.h#newcode42 base/metrics/persistent_histogram_allocator.h:42: ~PersistentHistogramAllocator(); On 2016/04/01 19:52:40, Alexei Svitkine wrote: > This ...
4 years, 8 months ago (2016-04-04 18:47:29 UTC) #9
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1780993002/diff/120001/base/metrics/persistent_histogram_allocator.h File base/metrics/persistent_histogram_allocator.h (right): https://codereview.chromium.org/1780993002/diff/120001/base/metrics/persistent_histogram_allocator.h#newcode233 base/metrics/persistent_histogram_allocator.h:233: GlobalHistogramAllocator(scoped_ptr<PersistentMemoryAllocator> memory); Nit: explicit
4 years, 8 months ago (2016-04-05 15:56:00 UTC) #10
bcwhite
https://codereview.chromium.org/1780993002/diff/120001/base/metrics/persistent_histogram_allocator.h File base/metrics/persistent_histogram_allocator.h (right): https://codereview.chromium.org/1780993002/diff/120001/base/metrics/persistent_histogram_allocator.h#newcode233 base/metrics/persistent_histogram_allocator.h:233: GlobalHistogramAllocator(scoped_ptr<PersistentMemoryAllocator> memory); On 2016/04/05 15:56:00, Alexei Svitkine wrote: > ...
4 years, 8 months ago (2016-04-06 00:58:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780993002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780993002/180001
4 years, 8 months ago (2016-04-06 01:49:35 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 8 months ago (2016-04-06 02:04:06 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 02:05:14 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5e748c6dca3b8f585c295956f192ca7c34cbe4b7
Cr-Commit-Position: refs/heads/master@{#385367}

Powered by Google App Engine
This is Rietveld 408576698