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

Unified Diff: components/wifi/wifi_test.cc

Issue 2082333002: Remove calls to deprecated MessageLoop methods in components. (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 | « components/wallpaper/wallpaper_resizer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/wifi_test.cc
diff --git a/components/wifi/wifi_test.cc b/components/wifi/wifi_test.cc
index b2d1def87513e204c0139fab81195e25e7fb2516..b6cb8fdaad73e6534bfa404cd72bab657bf0c8dc 100644
--- a/components/wifi/wifi_test.cc
+++ b/components/wifi/wifi_test.cc
@@ -204,7 +204,7 @@ bool WiFiTest::ParseCommandLine(int argc, const char* argv[]) {
wifi_service_->StartConnect(network_guid, &error);
VLOG(0) << error;
if (error.empty())
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
return true;
}
}
@@ -234,7 +234,7 @@ bool WiFiTest::ParseCommandLine(int argc, const char* argv[]) {
base::Bind(&WiFiTest::OnNetworksChanged, base::Unretained(this)),
base::Bind(&WiFiTest::OnNetworkListChanged, base::Unretained(this)));
wifi_service_->RequestNetworkScan();
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
return true;
}
« no previous file with comments | « components/wallpaper/wallpaper_resizer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698