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

Unified Diff: chrome/browser/android/net/external_estimate_provider_android_unittest.cc

Issue 1831383002: Add SocketWatcherFactory as a helper class to NQE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the SocketDelegate Created 4 years, 8 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/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;
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_io_data.cc » ('j') | chrome/browser/profiles/profile_io_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698