Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Issue 11231025: Histogram argument related change (Closed)

Created:
8 years, 2 months ago by kaiwang
Modified:
8 years, 2 months ago
Reviewers:
Ilya Sherman, zel, hshi1
CC:
chromium-reviews, MAD, jar (doing other things), Ilya Sherman, oshima+watch_chromium.org, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Histogram argument related change 1. HistogramBase supports HasConstructionArguments. 2. Move Histogram::InspectConstructionArguments() to public, so chromeos does not need to extend Histogram to do arguments checking. Also grouped OVERRIDE functions in histogram.cc/h together. [email protected] Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163788

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Patch Set 3 : add missed namespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -98 lines) Patch
M base/metrics/histogram.h View 4 chunks +17 lines, -21 lines 0 comments Download
M base/metrics/histogram.cc View 4 chunks +55 lines, -55 lines 0 comments Download
M base/metrics/histogram_base.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M base/metrics/sparse_histogram.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M base/metrics/sparse_histogram.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/external_metrics.cc View 1 2 3 chunks +24 lines, -21 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kaiwang
ping...
8 years, 2 months ago (2012-10-23 22:46:46 UTC) #1
kaiwang
I think I forgot to publish this CL... Anyway please help to review it, thanks ...
8 years, 2 months ago (2012-10-23 23:32:30 UTC) #2
Ilya Sherman
LGTM http://codereview.chromium.org/11231025/diff/1/base/metrics/histogram_base.h File base/metrics/histogram_base.h (right): http://codereview.chromium.org/11231025/diff/1/base/metrics/histogram_base.h#newcode54 base/metrics/histogram_base.h:54: virtual bool HasConstructionArguments(Sample minimum, nit: Please add a ...
8 years, 2 months ago (2012-10-24 00:30:08 UTC) #3
zel
+hshi@ http://codereview.chromium.org/11231025/diff/1/chrome/browser/chromeos/external_metrics.cc File chrome/browser/chromeos/external_metrics.cc (left): http://codereview.chromium.org/11231025/diff/1/chrome/browser/chromeos/external_metrics.cc#oldcode38 chrome/browser/chromeos/external_metrics.cc:38: class SystemHistogram : public base::Histogram { You can ...
8 years, 2 months ago (2012-10-24 01:11:00 UTC) #4
hshi1
On 2012/10/24 01:11:00, zel wrote: > +hshi@ > > http://codereview.chromium.org/11231025/diff/1/chrome/browser/chromeos/external_metrics.cc > File chrome/browser/chromeos/external_metrics.cc (left): > ...
8 years, 2 months ago (2012-10-24 01:13:09 UTC) #5
kaiwang
Thanks for your quick review! http://codereview.chromium.org/11231025/diff/1/base/metrics/histogram_base.h File base/metrics/histogram_base.h (right): http://codereview.chromium.org/11231025/diff/1/base/metrics/histogram_base.h#newcode54 base/metrics/histogram_base.h:54: virtual bool HasConstructionArguments(Sample minimum, ...
8 years, 2 months ago (2012-10-24 03:43:28 UTC) #6
hshi1
external_metrics.cc: LGTM. Thanks!
8 years, 2 months ago (2012-10-24 04:06:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11231025/13001
8 years, 2 months ago (2012-10-24 06:08:03 UTC) #8
commit-bot: I haz the power
Presubmit check for 11231025-13001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-24 06:08:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11231025/13001
8 years, 2 months ago (2012-10-24 06:15:34 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-24 08:18:54 UTC) #11
Change committed as 163788

Powered by Google App Engine
This is Rietveld 408576698