| Index: base/metrics/histogram_base.h
|
| diff --git a/base/metrics/histogram_base.h b/base/metrics/histogram_base.h
|
| index 211606a9898b7bad263643bb092878fe8eb4c93e..5e27e1e4bfe63bd289468288bd436f706384795a 100644
|
| --- a/base/metrics/histogram_base.h
|
| +++ b/base/metrics/histogram_base.h
|
| @@ -51,8 +51,17 @@ class BASE_EXPORT HistogramBase {
|
| void SetFlags(int32 flags);
|
| void ClearFlags(int32 flags);
|
|
|
| + // Whether the histogram has construction arguments as parameters specified.
|
| + // For histograms that don't have the concept of minimum, maximum or
|
| + // bucket_count, this function always returns false.
|
| + virtual bool HasConstructionArguments(Sample minimum,
|
| + 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.
|
|
|