Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/metrics/histogram_base.h" | 5 #include "base/metrics/histogram_base.h" |
| 6 | 6 |
| 7 #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
| |
| 8 | |
| 7 namespace base { | 9 namespace base { |
| 8 | 10 |
| 9 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX; | 11 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX; |
| 10 | 12 |
| 11 HistogramBase::HistogramBase(const std::string& name) | 13 HistogramBase::HistogramBase(const std::string& name) |
| 12 : histogram_name_(name) {} | 14 : histogram_name_(name), |
| 15 flags_(kNoFlags) {} | |
| 13 | 16 |
| 14 HistogramBase::~HistogramBase() {} | 17 HistogramBase::~HistogramBase() {} |
| 15 | 18 |
| 16 } // namespace base | 19 } // namespace base |
| OLD | NEW |