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

Unified Diff: content/common/child_histogram_message_filter.cc

Issue 10829466: SampleSet -> HistogramSamples (will be reused by SparseHistogram) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/child_histogram_message_filter.h ('k') | net/cookies/cookie_monster_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_histogram_message_filter.cc
===================================================================
--- content/common/child_histogram_message_filter.cc (revision 155400)
+++ content/common/child_histogram_message_filter.cc (working copy)
@@ -71,10 +71,8 @@
void ChildHistogramMessageFilter::RecordDelta(
const base::Histogram& histogram,
- const base::Histogram::SampleSet& snapshot) {
+ const base::HistogramSamples& snapshot) {
DCHECK_NE(0, snapshot.TotalCount());
- DCHECK_EQ(histogram.bucket_count(), snapshot.size());
-
std::string histogram_info =
base::Histogram::SerializeHistogramInfo(histogram, snapshot);
« no previous file with comments | « content/common/child_histogram_message_filter.h ('k') | net/cookies/cookie_monster_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698