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

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

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.h
diff --git a/third_party/WebKit/Source/platform/testing/HistogramTester.h b/third_party/WebKit/Source/platform/testing/HistogramTester.h
index e4946a617d8ca80fc015cc138017de174b208210..31fe0ba603285b43a41ff204ee2707c2d554d228 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.h
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.h
@@ -28,6 +28,9 @@ class HistogramTester {
base::HistogramBase::Count) const;
void ExpectTotalCount(const std::string& name,
base::HistogramBase::Count) const;
+ void ExpectTotalCountExcept(const std::string& name,
+ base::HistogramBase::Sample,
+ base::HistogramBase::Count) const;
private:
std::unique_ptr<base::HistogramTester> histogram_tester_;

Powered by Google App Engine
This is Rietveld 408576698