Index: chrome/browser/android/net/external_estimate_provider_android_unittest.cc |
diff --git a/chrome/browser/android/net/external_estimate_provider_android_unittest.cc b/chrome/browser/android/net/external_estimate_provider_android_unittest.cc |
index b5205816a3c68d151f8019679fb2a2b1b95f855d..677695757dc47bda1ec13009eba9e6cd631d3082 100644 |
--- a/chrome/browser/android/net/external_estimate_provider_android_unittest.cc |
+++ b/chrome/browser/android/net/external_estimate_provider_android_unittest.cc |
@@ -10,6 +10,7 @@ |
#include "base/at_exit.h" |
#include "base/test/histogram_tester.h" |
#include "base/time/time.h" |
+#include "content/public/test/test_browser_thread_bundle.h" |
#include "net/base/network_quality_estimator.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -74,6 +75,9 @@ class TestExternalEstimateProviderAndroid |
// Tests if the |ExternalEstimateProviderAndroid| notifies |
// |NetworkQualityEstimator|. |
TEST(ExternalEstimateProviderAndroidTest, DelegateTest) { |
+ content::TestBrowserThreadBundle thread_bundle( |
+ content::TestBrowserThreadBundle::IO_MAINLOOP); |
+ |
base::ShadowingAtExitManager at_exit_manager; |
base::HistogramTester histogram_tester; |
scoped_ptr<TestExternalEstimateProviderAndroid> external_estimate_provider; |