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

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

Issue 2796283005: Adding UseCounter specific for extensions (Closed)
Patch Set: Codereview: added tester ExpectTotalCountExcept to simplify UseCounter unit tests Created 3 years, 7 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 bcec68c9b99fbb1b8f024bc55c8e03e50d1e8928..df60fa0987fd9d7ecd161145a5bf45ae0e77ac4b 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
@@ -33,4 +33,11 @@ void HistogramTester::ExpectTotalCount(const std::string& name,
histogram_tester_->ExpectTotalCount(name, count);
}
+void HistogramTester::ExpectTotalCountExcept(
+ const std::string& name,
+ base::HistogramBase::Sample sample,
+ base::HistogramBase::Count count) const {
+ histogram_tester_->ExpectTotalCountExcept(name, sample, count);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698