Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: third_party/WebKit/Source/platform/Histogram.h

Issue 2137483003: Add UMA metrics for root scroller intervention to track forcing passive breakage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ability to test histograms from layout tests Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
class PLATFORM_EXPORT SparseHistogram {

Powered by Google App Engine
This is Rietveld 408576698