Index: base/metrics/histogram_base.h |
diff --git a/base/metrics/histogram_base.h b/base/metrics/histogram_base.h |
index d246691ca257093851f7dc7c6393d7af51a3285b..f45cc9c106e323e83791265a57cbefaa3352011b 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 name_hash() const = 0; |
+ |
// Operations with Flags enum. |
int32_t flags() const { return subtle::NoBarrier_Load(&flags_); } |
void SetFlags(int32_t flags); |