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

Unified Diff: chrome/browser/net/connection_tester_unittest.cc

Issue 136683004: Removes MessageLoop::TYPE_XXX where possible (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 11 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/net/connection_tester_unittest.cc
diff --git a/chrome/browser/net/connection_tester_unittest.cc b/chrome/browser/net/connection_tester_unittest.cc
index 812c6920d3c8639168316240adc79608c9370118..6239c2b3cbebd720f42003bdebffda8244a768a3 100644
--- a/chrome/browser/net/connection_tester_unittest.cc
+++ b/chrome/browser/net/connection_tester_unittest.cc
@@ -89,8 +89,7 @@ class ConnectionTesterDelegate : public ConnectionTester::Delegate {
class ConnectionTesterTest : public PlatformTest {
public:
ConnectionTesterTest()
- : message_loop_(base::MessageLoop::TYPE_IO),
- io_thread_(BrowserThread::IO, &message_loop_),
+ : io_thread_(BrowserThread::IO, &message_loop_),
test_server_(net::SpawnedTestServer::TYPE_HTTP,
net::SpawnedTestServer::kLocalhost,
// Nothing is read in this directory.
@@ -105,7 +104,7 @@ class ConnectionTesterTest : public PlatformTest {
// SSLClientAuthCache calls RemoveObserver when destroyed, but if the
// MessageLoop is already destroyed, then the RemoveObserver will be a
// no-op, and the ObserverList will contain invalid entries.
- base::MessageLoop message_loop_;
+ base::MessageLoopForIO message_loop_;
content::TestBrowserThread io_thread_;
net::SpawnedTestServer test_server_;
ConnectionTesterDelegate test_delegate_;

Powered by Google App Engine
This is Rietveld 408576698