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

Issue 11682003: Serialize/Deserialize support in HistogramBase (Closed)

Created:
7 years, 12 months ago by kaiwang
Modified:
7 years, 11 months ago
CC:
chromium-reviews, MAD, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Serialize/Deserialize support in HistogramBase BUG=139612, 167343 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176449

Patch Set 1 #

Total comments: 50

Patch Set 2 : Address comments #

Patch Set 3 : Some changes about deserializing #

Total comments: 18

Patch Set 4 : Address comments #

Patch Set 5 : BASE_EXPORT #

Patch Set 6 : Modify friend declaration #

Patch Set 7 : Another friend change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+643 lines, -221 lines) Patch
M base/base.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M base/metrics/histogram.h View 1 2 3 4 5 9 chunks +27 lines, -35 lines 0 comments Download
M base/metrics/histogram.cc View 1 2 3 9 chunks +173 lines, -126 lines 0 comments Download
M base/metrics/histogram_base.h View 1 2 3 4 5 4 chunks +26 lines, -2 lines 0 comments Download
M base/metrics/histogram_base.cc View 1 2 3 3 chunks +45 lines, -0 lines 0 comments Download
A base/metrics/histogram_base_unittest.cc View 1 2 3 1 chunk +172 lines, -0 lines 0 comments Download
M base/metrics/histogram_unittest.cc View 1 20 chunks +101 lines, -23 lines 0 comments Download
M base/metrics/sample_map.h View 1 chunk +0 lines, -2 lines 0 comments Download
M base/metrics/sample_map.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M base/metrics/sparse_histogram.h View 1 2 3 4 5 6 2 chunks +17 lines, -5 lines 0 comments Download
M base/metrics/sparse_histogram.cc View 1 2 3 chunks +32 lines, -10 lines 0 comments Download
M base/metrics/sparse_histogram_unittest.cc View 3 chunks +28 lines, -1 line 0 comments Download
M base/metrics/statistics_recorder.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/metrics/metrics_log_base.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/metrics/metrics_log_base.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/common/metrics/metrics_service_base.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/histogram_synchronizer.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M content/common/child_histogram_message_filter.cc View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
kaiwang
7 years, 12 months ago (2012-12-27 01:05:54 UTC) #1
kaiwang
7 years, 12 months ago (2012-12-27 01:06:26 UTC) #2
kaiwang
ping...
7 years, 11 months ago (2012-12-28 19:27:54 UTC) #3
Ilya Sherman
https://chromiumcodereview.appspot.com/11682003/diff/1/base/metrics/histogram.cc File base/metrics/histogram.cc (left): https://chromiumcodereview.appspot.com/11682003/diff/1/base/metrics/histogram.cc#oldcode167 base/metrics/histogram.cc:167: DCHECK(histogram.bucket_ranges()->HasValidChecksum()); What happened to this DCHECK? https://chromiumcodereview.appspot.com/11682003/diff/1/base/metrics/histogram.cc#oldcode263 base/metrics/histogram.cc:263: DCHECK_EQ(flags ...
7 years, 11 months ago (2012-12-29 00:17:29 UTC) #4
kaiwang
https://codereview.chromium.org/11682003/diff/1/base/metrics/histogram.cc File base/metrics/histogram.cc (left): https://codereview.chromium.org/11682003/diff/1/base/metrics/histogram.cc#oldcode167 base/metrics/histogram.cc:167: DCHECK(histogram.bucket_ranges()->HasValidChecksum()); Added to Histogram::SerializeInfoImpl https://codereview.chromium.org/11682003/diff/1/base/metrics/histogram.cc#oldcode263 base/metrics/histogram.cc:263: DCHECK_EQ(flags & render_histogram->flags(), ...
7 years, 11 months ago (2013-01-08 00:51:40 UTC) #5
Ilya Sherman
https://chromiumcodereview.appspot.com/11682003/diff/1/base/metrics/histogram.cc File base/metrics/histogram.cc (left): https://chromiumcodereview.appspot.com/11682003/diff/1/base/metrics/histogram.cc#oldcode263 base/metrics/histogram.cc:263: DCHECK_EQ(flags & render_histogram->flags(), flags); On 2013/01/08 00:51:40, kaiwang wrote: ...
7 years, 11 months ago (2013-01-08 22:31:53 UTC) #6
Ilya Sherman
LGTM with nits: https://chromiumcodereview.appspot.com/11682003/diff/33001/base/metrics/histogram.cc File base/metrics/histogram.cc (right): https://chromiumcodereview.appspot.com/11682003/diff/33001/base/metrics/histogram.cc#newcode64 base/metrics/histogram.cc:64: // in this process. So we ...
7 years, 11 months ago (2013-01-09 05:48:37 UTC) #7
kaiwang
https://chromiumcodereview.appspot.com/11682003/diff/33001/base/metrics/histogram.cc File base/metrics/histogram.cc (right): https://chromiumcodereview.appspot.com/11682003/diff/33001/base/metrics/histogram.cc#newcode64 base/metrics/histogram.cc:64: // in this process. So we need to clear ...
7 years, 11 months ago (2013-01-10 23:02:24 UTC) #8
kaiwang
Reviewers, I need your OWNER review: jar: base and chrome/common/metrics jam: content Thanks a lot!
7 years, 11 months ago (2013-01-10 23:05:27 UTC) #9
jam
On 2013/01/10 23:05:27, kaiwang wrote: > Reviewers, I need your OWNER review: > > jar: ...
7 years, 11 months ago (2013-01-11 01:16:27 UTC) #10
jar (doing other things)
Based on Isherman's approval, base LGTM.
7 years, 11 months ago (2013-01-11 05:52:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/11682003/37002
7 years, 11 months ago (2013-01-11 06:45:45 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 11 months ago (2013-01-11 07:03:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/11682003/56001
7 years, 11 months ago (2013-01-11 18:58:57 UTC) #14
commit-bot: I haz the power
7 years, 11 months ago (2013-01-11 21:52:49 UTC) #15
Message was sent while issue was closed.
Change committed as 176449

Powered by Google App Engine
This is Rietveld 408576698