| Index: base/metrics/sparse_histogram.cc
|
| diff --git a/base/metrics/sparse_histogram.cc b/base/metrics/sparse_histogram.cc
|
| index bb9061c7550bce11dd61802cf5b5f80ec7b3438b..e4e16e82aea57422a7602f3839ce6ab36fd21ecc 100644
|
| --- a/base/metrics/sparse_histogram.cc
|
| +++ b/base/metrics/sparse_histogram.cc
|
| @@ -26,6 +26,13 @@ HistogramBase* SparseHistogram::FactoryGet(const string& name, int32 flags) {
|
|
|
| SparseHistogram::~SparseHistogram() {}
|
|
|
| +bool SparseHistogram::HasConstructionArguments(Sample minimum,
|
| + Sample maximum,
|
| + size_t bucket_count) const {
|
| + // SparseHistogram never has min/max/bucket_count limit.
|
| + return false;
|
| +}
|
| +
|
| void SparseHistogram::Add(Sample value) {
|
| base::AutoLock auto_lock(lock_);
|
| sample_counts_[value]++;
|
|
|