Index: base/metrics/histogram.h |
diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h |
index 2283a4d80fd142bbc3b701b9d996af04c48d3128..47946a970ab14d1d5a92541e19a2b79a324cf27b 100644 |
--- a/base/metrics/histogram.h |
+++ b/base/metrics/histogram.h |
@@ -207,8 +207,10 @@ class BASE_EXPORT Histogram : public HistogramBase { |
std::unique_ptr<HistogramSamples> SnapshotFinalDelta() const override; |
void AddSamples(const HistogramSamples& samples) override; |
bool AddSamplesFromPickle(base::PickleIterator* iter) override; |
- void WriteHTMLGraph(std::string* output) const override; |
- void WriteAscii(std::string* output) const override; |
+ void WriteHTMLGraph(const HistogramSamples* snapshot, |
+ std::string* output) const override; |
+ void WriteAscii(const HistogramSamples* snapshot, |
+ std::string* output) const override; |
protected: |
// This class, defined entirely within the .cc file, contains all the |
@@ -276,6 +278,7 @@ class BASE_EXPORT Histogram : public HistogramBase { |
void WriteAsciiImpl(bool graph_it, |
const std::string& newline, |
+ const SampleVector* snapshot, |
std::string* output) const; |
// Find out how large (graphically) the largest bucket will appear to be. |