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

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

Issue 2796283005: Adding UseCounter specific for extensions (Closed)
Patch Set: Fix compile err 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..18e79291fbaf73c22a0311d9a204d96494b2ea3c 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.h
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.h
@@ -28,6 +28,8 @@ class HistogramTester {
base::HistogramBase::Count) const;
void ExpectTotalCount(const std::string& name,
base::HistogramBase::Count) const;
+ base::HistogramBase::Count GetBucketCount(const std::string& name,
+ base::HistogramBase::Sample) const;
private:
std::unique_ptr<base::HistogramTester> histogram_tester_;

Powered by Google App Engine
This is Rietveld 408576698