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); |