Index: base/metrics/histogram_base.h |
diff --git a/base/metrics/histogram_base.h b/base/metrics/histogram_base.h |
index 4f5ba049bc6943c5c2454ac407b2a52fa9c67d83..3c6e136eb777b114fe6f0d887f3c9b3dd6459eae 100644 |
--- a/base/metrics/histogram_base.h |
+++ b/base/metrics/histogram_base.h |
@@ -187,6 +187,9 @@ class BASE_EXPORT HistogramBase { |
// Snapshot the current complete set of sample data. |
// Override with atomic/locked snapshot if needed. |
+ // NOTE: this data can overflow for long-running sessions. It should be |
+ // handled with care and this method is recommended to be used only |
+ // in about:histograms and test code. |
virtual std::unique_ptr<HistogramSamples> SnapshotSamples() const = 0; |
// Calculate the change (delta) in histogram counts since the previous call |