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

Unified Diff: third_party/WebKit/Source/platform/testing/HistogramTester.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: Use HistogramTester 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/testing/HistogramTester.h
diff --git a/third_party/WebKit/Source/platform/testing/HistogramTester.h b/third_party/WebKit/Source/platform/testing/HistogramTester.h
index 16ccc152b9bd4f4c8991c0d2b245caf1ca04efc0..117a7caf4f370ed87cdf94fa2fa42bf9f605b1f8 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.h
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.h
@@ -22,6 +22,7 @@ public:
void expectUniqueSample(const std::string& name, base::HistogramBase::Sample, base::HistogramBase::Count) const;
void expectTotalCount(const std::string& name, base::HistogramBase::Count) const;
+ base::HistogramBase::Count histogramCount(const std::string& name, base::HistogramBase::Sample) const;
Ilya Sherman 2016/07/12 21:26:18 I'd prefer to keep this class analogous to base::H
private:
std::unique_ptr<base::HistogramTester> m_histogramTester;

Powered by Google App Engine
This is Rietveld 408576698