Index: base/metrics/histogram_base.h |
diff --git a/base/metrics/histogram_base.h b/base/metrics/histogram_base.h |
index 211606a9898b7bad263643bb092878fe8eb4c93e..8c78a79e5ab33835b47ea03440704383e12a1ff9 100644 |
--- a/base/metrics/histogram_base.h |
+++ b/base/metrics/histogram_base.h |
@@ -51,8 +51,14 @@ class BASE_EXPORT HistogramBase { |
void SetFlags(int32 flags); |
void ClearFlags(int32 flags); |
+ virtual bool HasConstructionArguments(Sample minimum, |
Ilya Sherman
2012/10/24 00:30:08
nit: Please add a comment describing this method.
kaiwang
2012/10/24 03:43:28
Done.
|
+ Sample maximum, |
+ size_t bucket_count) const = 0; |
+ |
virtual void Add(Sample value) = 0; |
+ // Snapshot the current complete set of sample data. |
+ // Override with atomic/locked snapshot if needed. |
virtual scoped_ptr<HistogramSamples> SnapshotSamples() const = 0; |
// The following methods provide graphical histogram displays. |