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

Unified Diff: chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc

Issue 2130493002: Implement THROTTLED priority semantics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NetworkStreamThrottler
Patch Set: Remove comparison between iterators from different sequences. Created 4 years, 1 month 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/browser/ssl/chrome_expect_ct_reporter_unittest.cc
diff --git a/chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc b/chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc
index 7efa5a13fdca8aeda652d9fae70042519ec9bfcf..0c920386a0fcf14ac00c07b7b7b41ae5340cf788 100644
--- a/chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc
+++ b/chrome/browser/ssl/chrome_expect_ct_reporter_unittest.cc
@@ -341,6 +341,7 @@ void EnableFeature() {
// Test that no report is sent when the feature is not enabled.
TEST(ChromeExpectCTReporterTest, FeatureDisabled) {
+ content::TestBrowserThreadBundle thread_bundle;
base::HistogramTester histograms;
histograms.ExpectTotalCount(kSendHistogramName, 0);
@@ -369,6 +370,7 @@ TEST(ChromeExpectCTReporterTest, FeatureDisabled) {
// Test that no report is sent if the report URI is empty.
TEST(ChromeExpectCTReporterTest, EmptyReportURI) {
+ content::TestBrowserThreadBundle thread_bundle;
base::HistogramTester histograms;
histograms.ExpectTotalCount(kSendHistogramName, 0);
@@ -418,6 +420,7 @@ TEST_F(ChromeExpectCTReporterWaitTest, SendReportFailure) {
// Test that a sent report has the right format.
TEST(ChromeExpectCTReporterTest, SendReport) {
+ content::TestBrowserThreadBundle thread_bundle;
base::HistogramTester histograms;
histograms.ExpectTotalCount(kFailureHistogramName, 0);
histograms.ExpectTotalCount(kSendHistogramName, 0);

Powered by Google App Engine
This is Rietveld 408576698