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

Unified Diff: base/metrics/histogram_base.cc

Issue 10830156: Skeleton code of SparseHistogram (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
Index: base/metrics/histogram_base.cc
===================================================================
--- base/metrics/histogram_base.cc (revision 149721)
+++ base/metrics/histogram_base.cc (working copy)
@@ -4,12 +4,15 @@
#include "base/metrics/histogram_base.h"
+#include <climits>
Ilya Sherman 2012/08/04 01:18:35 nit: This is already included in the header. Did
kaiwang 2012/08/08 03:59:33 Done, removed the one in .h
+
namespace base {
const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX;
HistogramBase::HistogramBase(const std::string& name)
- : histogram_name_(name) {}
+ : histogram_name_(name),
+ flags_(kNoFlags) {}
HistogramBase::~HistogramBase() {}

Powered by Google App Engine
This is Rietveld 408576698