|
This is a major refactor of Histogram related code:
1. Remove duplicated code from histogram.h/.cc,
including validating related code and BucketRanges related.
2. Constness of BucketRanges from Histograms, to prevent accidentally modification and provide a simpler interface.
3. Add/move tests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149495
Total comments: 67
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1058 lines, -995 lines) |
Patch |
 |
M |
base/base.gyp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
base/metrics/bucket_ranges.h
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/metrics/bucket_ranges.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
base/metrics/bucket_ranges_unittest.cc
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/metrics/histogram.h
|
View
|
1
2
3
4
5
6
|
17 chunks |
+89 lines, -89 lines |
0 comments
|
Download
|
 |
M |
base/metrics/histogram.cc
|
View
|
1
2
3
4
5
6
|
24 chunks |
+375 lines, -495 lines |
2 comments
|
Download
|
 |
M |
base/metrics/histogram_base.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
base/metrics/histogram_base.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/metrics/histogram_snapshot_manager.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/metrics/histogram_unittest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+134 lines, -264 lines |
0 comments
|
Download
|
 |
M |
base/metrics/statistics_recorder.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+19 lines, -21 lines |
0 comments
|
Download
|
 |
M |
base/metrics/statistics_recorder.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+142 lines, -98 lines |
0 comments
|
Download
|
 |
A |
base/metrics/statistics_recorder_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+256 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/metrics/metrics_log_base.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/child_histogram_message_filter.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/disk_cache/stats_histogram.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/disk_cache/stats_histogram.cc
|
View
|
|
2 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
net/socket_stream/socket_stream_metrics_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_throttler_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|