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

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

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.cpp
diff --git a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
index bcec68c9b99fbb1b8f024bc55c8e03e50d1e8928..3b08e837e413e83b6790a3483720e0aa4893bcb4 100644
--- a/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
+++ b/third_party/WebKit/Source/platform/testing/HistogramTester.cpp
@@ -33,4 +33,10 @@ void HistogramTester::ExpectTotalCount(const std::string& name,
histogram_tester_->ExpectTotalCount(name, count);
}
+base::HistogramBase::Count HistogramTester::GetBucketCount(
+ const std::string& name,
+ base::HistogramBase::Sample sample) const {
+ return histogram_tester_->GetBucketCount(name, sample);
+}
+
} // 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