| Index: base/metrics/histogram_base.cc
|
| ===================================================================
|
| --- base/metrics/histogram_base.cc (revision 251312)
|
| +++ base/metrics/histogram_base.cc (working copy)
|
| @@ -20,7 +20,7 @@
|
| namespace base {
|
|
|
| std::string HistogramTypeToString(HistogramType type) {
|
| - switch(type) {
|
| + switch (type) {
|
| case HISTOGRAM:
|
| return "HISTOGRAM";
|
| case LINEAR_HISTOGRAM:
|
| @@ -66,6 +66,10 @@
|
|
|
| HistogramBase::~HistogramBase() {}
|
|
|
| +void HistogramBase::CheckName(const StringPiece& name) const {
|
| + DCHECK_EQ(histogram_name(), name);
|
| +}
|
| +
|
| void HistogramBase::SetFlags(int32 flags) {
|
| flags_ |= flags;
|
| }
|
|
|