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

Unified Diff: third_party/WebKit/Source/platform/testing/HistogramTester.cpp

Issue 1827793004: Add initial UMA metrics for ScrollAnchoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 4 years, 9 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.cpp
diff --git a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
index 03e4b30a097b5362e3e05d72be8a19e6d2532a88..0e0fbb63d63b925f765d62c786807b732295ec83 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
@@ -18,4 +18,9 @@ void HistogramTester::expectUniqueSample(const std::string& name, base::Histogra
m_histogramTester->ExpectUniqueSample(name, sample, count);
}
+void HistogramTester::expectTotalCount(const std::string& name, base::HistogramBase::Count count) const
+{
+ m_histogramTester->ExpectTotalCount(name, count);
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/testing/HistogramTester.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698