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

Unified Diff: ipc/ipc_channel_proxy_unittest.cc

Issue 2087163003: Remove calls to deprecated MessageLoop methods in ipc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: manual changes 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 | « ipc/ipc_channel_posix_unittest.cc ('k') | ipc/ipc_channel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_proxy_unittest.cc
diff --git a/ipc/ipc_channel_proxy_unittest.cc b/ipc/ipc_channel_proxy_unittest.cc
index 5367157ec40700ceced8b4cbbc32682ee8d13857..75e6b95b520e7850e22de0dee64892923b4cae34 100644
--- a/ipc/ipc_channel_proxy_unittest.cc
+++ b/ipc/ipc_channel_proxy_unittest.cc
@@ -9,6 +9,7 @@
#include <memory>
#include "base/pickle.h"
+#include "base/run_loop.h"
#include "base/threading/thread.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_test_base.h"
@@ -260,7 +261,7 @@ class IPCChannelProxyTest : public IPCTestBase {
void SendQuitMessageAndWaitForIdle() {
sender()->Send(new WorkerMsg_Quit);
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
EXPECT_TRUE(WaitForClientShutdown());
}
@@ -400,7 +401,7 @@ class IPCChannelBadMessageTest : public IPCTestBase {
void SendQuitMessageAndWaitForIdle() {
sender()->Send(new WorkerMsg_Quit);
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
EXPECT_TRUE(WaitForClientShutdown());
}
@@ -431,7 +432,7 @@ MULTIPROCESS_IPC_TEST_CLIENT_MAIN(ChannelProxyClient) {
CHECK(channel->Connect());
listener.Init(channel.get());
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
return 0;
}
« no previous file with comments | « ipc/ipc_channel_posix_unittest.cc ('k') | ipc/ipc_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698