| Index: base/metrics/sample_vector.h
|
| diff --git a/base/metrics/sample_vector.h b/base/metrics/sample_vector.h
|
| index 6b2adcf2094a55c6bd4a1a1f93f12a8a489a3546..3e7e2e58276bb9a47812f4d9be4561330dacc623 100644
|
| --- a/base/metrics/sample_vector.h
|
| +++ b/base/metrics/sample_vector.h
|
| @@ -26,20 +26,19 @@ class BASE_EXPORT_PRIVATE SampleVector : public HistogramSamples {
|
| virtual ~SampleVector();
|
|
|
| // HistogramSamples implementation:
|
| - virtual void Accumulate(HistogramBase::Sample value,
|
| - HistogramBase::Count count) OVERRIDE;
|
| + void Accumulate(HistogramBase::Sample value,
|
| + HistogramBase::Count count) override;
|
| virtual HistogramBase::Count GetCount(
|
| - HistogramBase::Sample value) const OVERRIDE;
|
| - virtual HistogramBase::Count TotalCount() const OVERRIDE;
|
| - virtual scoped_ptr<SampleCountIterator> Iterator() const OVERRIDE;
|
| + HistogramBase::Sample value) const override;
|
| + HistogramBase::Count TotalCount() const override;
|
| + scoped_ptr<SampleCountIterator> Iterator() const override;
|
|
|
| // Get count of a specific bucket.
|
| HistogramBase::Count GetCountAtIndex(size_t bucket_index) const;
|
|
|
| protected:
|
| - virtual bool AddSubtractImpl(
|
| - SampleCountIterator* iter,
|
| - HistogramSamples::Operator op) OVERRIDE; // |op| is ADD or SUBTRACT.
|
| + bool AddSubtractImpl(SampleCountIterator* iter, HistogramSamples::Operator op)
|
| + override; // |op| is ADD or SUBTRACT.
|
|
|
| virtual size_t GetBucketIndex(HistogramBase::Sample value) const;
|
|
|
| @@ -61,14 +60,14 @@ class BASE_EXPORT_PRIVATE SampleVectorIterator : public SampleCountIterator {
|
| virtual ~SampleVectorIterator();
|
|
|
| // SampleCountIterator implementation:
|
| - virtual bool Done() const OVERRIDE;
|
| - virtual void Next() OVERRIDE;
|
| - virtual void Get(HistogramBase::Sample* min,
|
| - HistogramBase::Sample* max,
|
| - HistogramBase::Count* count) const OVERRIDE;
|
| + bool Done() const override;
|
| + void Next() override;
|
| + void Get(HistogramBase::Sample* min,
|
| + HistogramBase::Sample* max,
|
| + HistogramBase::Count* count) const override;
|
|
|
| // SampleVector uses predefined buckets, so iterator can return bucket index.
|
| - virtual bool GetBucketIndex(size_t* index) const OVERRIDE;
|
| + bool GetBucketIndex(size_t* index) const override;
|
|
|
| private:
|
| void SkipEmptyBuckets();
|
|
|