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

Unified Diff: chrome/test/base/uma_histogram_helper.h

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear tokens too Created 6 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: chrome/test/base/uma_histogram_helper.h
diff --git a/chrome/test/base/uma_histogram_helper.h b/chrome/test/base/uma_histogram_helper.h
index b04178ce21b57b2f088e4b32843aee0e4e549170..76e841fcfd3651266eb709273d8a9b20d44ff400 100644
--- a/chrome/test/base/uma_histogram_helper.h
+++ b/chrome/test/base/uma_histogram_helper.h
@@ -26,6 +26,12 @@ class UMAHistogramHelper {
base::HistogramBase::Sample sample,
base::HistogramBase::Count expected_count);
+ // We know the exact number of samples in a bucket, but other buckets may
+ // have samples as well.
+ void ExpectBucketCount(const std::string& name,
+ base::HistogramBase::Sample sample,
+ base::HistogramBase::Count expected_count);
+
// We don't know the values of the samples, but we know how many there are.
void ExpectTotalCount(const std::string& name,
base::HistogramBase::Count count);

Powered by Google App Engine
This is Rietveld 408576698