Chromium Code Reviews| Index: third_party/WebKit/Source/platform/Histogram.h |
| diff --git a/third_party/WebKit/Source/platform/Histogram.h b/third_party/WebKit/Source/platform/Histogram.h |
| index 8885b9fcebeb21f6517ebcc8f24e061e220f3997..d15624d796dea1bbe2cb3450a1f5a5c6d4b4d8e1 100644 |
| --- a/third_party/WebKit/Source/platform/Histogram.h |
| +++ b/third_party/WebKit/Source/platform/Histogram.h |
| @@ -35,6 +35,8 @@ public: |
| class PLATFORM_EXPORT EnumerationHistogram : public CustomCountHistogram { |
| public: |
| EnumerationHistogram(const char* name, base::HistogramBase::Sample boundaryValue); |
| + |
| + static bool GetHistogramCount(const char* name, base::HistogramBase::Sample bucket, int32_t* count); |
|
Ilya Sherman
2016/07/11 18:52:31
I'd recommend adding a "ForTesting" suffix to any
|
| }; |
| class PLATFORM_EXPORT SparseHistogram { |