Chromium Code Reviews| Index: base/metrics/histogram_base.h |
| diff --git a/base/metrics/histogram_base.h b/base/metrics/histogram_base.h |
| index d246691ca257093851f7dc7c6393d7af51a3285b..271df981591cc24fd0b0fd695eb27bc844798d0d 100644 |
| --- a/base/metrics/histogram_base.h |
| +++ b/base/metrics/histogram_base.h |
| @@ -104,6 +104,9 @@ class BASE_EXPORT HistogramBase { |
| // in more compact machine code being generated by the macros. |
| void CheckName(const StringPiece& name) const; |
| + // Get a unique ID for this histogram's samples. |
| + virtual uint64_t id() const = 0; |
|
Alexei Svitkine (slow)
2015/11/25 18:05:27
I think it's better to be explicit about what this
bcwhite
2015/11/25 21:54:17
Done.
|
| + |
| // Operations with Flags enum. |
| int32_t flags() const { return subtle::NoBarrier_Load(&flags_); } |
| void SetFlags(int32_t flags); |