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

Unified Diff: net/test/embedded_test_server/embedded_test_server_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
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/dump_cache/dump_files.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/embedded_test_server/embedded_test_server_unittest.cc
diff --git a/net/test/embedded_test_server/embedded_test_server_unittest.cc b/net/test/embedded_test_server/embedded_test_server_unittest.cc
index a9c2efba474377b92f451b03b368ee71c32cff49..9823947fb5dfdff312ce49cf46ba41ccdb3212af 100644
--- a/net/test/embedded_test_server/embedded_test_server_unittest.cc
+++ b/net/test/embedded_test_server/embedded_test_server_unittest.cc
@@ -270,7 +270,7 @@ class EmbeddedTestServerThreadingTestDelegate
scoped_ptr<base::MessageLoop> loop;
if (message_loop_present_on_initialize_)
- loop.reset(new base::MessageLoop(base::MessageLoop::TYPE_IO));
+ loop.reset(new base::MessageLoopForIO);
// Create the test server instance.
EmbeddedTestServer server;
@@ -280,7 +280,7 @@ class EmbeddedTestServerThreadingTestDelegate
// Make a request and wait for the reply.
if (!loop)
- loop.reset(new base::MessageLoop(base::MessageLoop::TYPE_IO));
+ loop.reset(new base::MessageLoopForIO);
scoped_ptr<URLFetcher> fetcher(URLFetcher::Create(
server.GetURL("/test?q=foo"), URLFetcher::GET, this));
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/tools/dump_cache/dump_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698