Index: base/metrics/statistics_recorder.h |
diff --git a/base/metrics/statistics_recorder.h b/base/metrics/statistics_recorder.h |
index 36b2f308af30bf8bc52d23a7ddfd9af69d22ccc7..8269bf54cf4c783399b410b60d87ba35becbfac7 100644 |
--- a/base/metrics/statistics_recorder.h |
+++ b/base/metrics/statistics_recorder.h |
@@ -130,6 +130,9 @@ class BASE_EXPORT StatisticsRecorder { |
// histogram. This method is thread safe. |
static OnSampleCallback FindCallback(const std::string& histogram_name); |
+ // Returns the number of known histograms. |
+ static size_t NumberOfHistograms(); |
+ |
// Clears all of the known histograms and resets static variables to a |
// state that allows a new initialization. |
static void ResetForTesting(); |