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

Unified Diff: net/proxy/proxy_config_service_android_unittest.cc

Issue 2132593002: Remove remaining calls to deprecated MessageLoop methods on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: h264_vt_encoder_unittest.cc Created 4 years, 5 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: net/proxy/proxy_config_service_android_unittest.cc
diff --git a/net/proxy/proxy_config_service_android_unittest.cc b/net/proxy/proxy_config_service_android_unittest.cc
index ecc3185b85157850b5af0c8f71c42926b2799012..4692553212d5f9d51684cebe58c49ba078dd1231 100644
--- a/net/proxy/proxy_config_service_android_unittest.cc
+++ b/net/proxy/proxy_config_service_android_unittest.cc
@@ -11,6 +11,7 @@
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "net/proxy/proxy_config.h"
#include "net/proxy/proxy_info.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -64,7 +65,7 @@ class ProxyConfigServiceAndroidTestBase : public testing::Test {
// testing::Test:
void SetUp() override {
- message_loop_->RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
service_.AddObserver(&observer_);
}
@@ -87,7 +88,7 @@ class ProxyConfigServiceAndroidTestBase : public testing::Test {
void ProxySettingsChanged() {
service_.ProxySettingsChanged();
- message_loop_->RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
void TestMapping(const std::string& url, const std::string& expected) {
« no previous file with comments | « media/test/pipeline_integration_test.cc ('k') | net/test/embedded_test_server/embedded_test_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698