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

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

Issue 2290733002: Add new UseCounter metric (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make diff prettier Created 4 years, 3 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 043ca95221a76defaffd2f9a6ebca685ab7d872b..0531e3b61b0cbb3f2f5586559a95765d63329f6e 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
@@ -18,6 +18,11 @@ void HistogramTester::expectUniqueSample(const std::string& name, base::Histogra
m_histogramTester->ExpectUniqueSample(name, sample, count);
}
+void HistogramTester::expectBucketCount(const std::string& name, base::HistogramBase::Sample sample, base::HistogramBase::Count count) const
+{
+ m_histogramTester->ExpectBucketCount(name, sample, count);
+}
+
void HistogramTester::expectTotalCount(const std::string& name, base::HistogramBase::Count count) const
{
m_histogramTester->ExpectTotalCount(name, count);

Powered by Google App Engine
This is Rietveld 408576698