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

Unified Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 2090613002: Remove calls to deprecated MessageLoop methods in net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/http/http_response_body_drainer_unittest.cc ('k') | net/proxy/mock_proxy_script_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl_unittest.cc
diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
index 2dd3264dcfe9f0ecfef84cd9abdc7800c4b4de49..572be8c94f68bdd9853e20bf0f3556430846f22c 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -142,7 +142,7 @@ class MockHttpStreamFactoryImplForPreconnect : public HttpStreamFactoryImpl {
void WaitForPreconnects() {
while (!preconnect_done_) {
waiting_for_preconnect_ = true;
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
waiting_for_preconnect_ = false;
}
}
@@ -233,7 +233,7 @@ class StreamRequestWaiter : public HttpStreamRequest::Delegate {
void WaitForStream() {
while (!stream_done_) {
waiting_for_stream_ = true;
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
waiting_for_stream_ = false;
}
}
« no previous file with comments | « net/http/http_response_body_drainer_unittest.cc ('k') | net/proxy/mock_proxy_script_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698