Index: base/metrics/histogram.h |
diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h |
index 58bc0297aba45c9838fe22ed8949880288c7edea..1f6e2a1ceeb7ac9f37aba10e2da37004d2d019dd 100644 |
--- a/base/metrics/histogram.h |
+++ b/base/metrics/histogram.h |
@@ -181,6 +181,7 @@ class BASE_EXPORT Histogram : public HistogramBase { |
Sample expected_maximum, |
size_t expected_bucket_count) const override; |
void Add(Sample value) override; |
+ void AddCount(Sample value, int count) override; |
scoped_ptr<HistogramSamples> SnapshotSamples() const override; |
void AddSamples(const HistogramSamples& samples) override; |
bool AddSamplesFromPickle(base::PickleIterator* iter) override; |
@@ -218,6 +219,7 @@ class BASE_EXPORT Histogram : public HistogramBase { |
FRIEND_TEST_ALL_PREFIXES(HistogramTest, CorruptBucketBounds); |
FRIEND_TEST_ALL_PREFIXES(HistogramTest, CorruptSampleCounts); |
FRIEND_TEST_ALL_PREFIXES(HistogramTest, NameMatchTest); |
+ FRIEND_TEST_ALL_PREFIXES(HistogramTest, AddCountTest); |
friend class StatisticsRecorder; // To allow it to delete duplicates. |
friend class StatisticsRecorderTest; |