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

Unified Diff: remoting/host/ipc_desktop_environment_unittest.cc

Issue 14314026: remoting: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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: remoting/host/ipc_desktop_environment_unittest.cc
diff --git a/remoting/host/ipc_desktop_environment_unittest.cc b/remoting/host/ipc_desktop_environment_unittest.cc
index 7a155b67f6e6a6122e863d703bff6255c0ea538d..1318091bf57c4545b0daa78434e947d3d343b4f1 100644
--- a/remoting/host/ipc_desktop_environment_unittest.cc
+++ b/remoting/host/ipc_desktop_environment_unittest.cc
@@ -154,7 +154,7 @@ class IpcDesktopEnvironmentTest : public testing::Test {
void OnDesktopAttached(IPC::PlatformFileForTransit desktop_pipe);
// The main message loop.
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
// Runs until |desktop_session_proxy_| is connected to the desktop.
scoped_ptr<base::RunLoop> setup_run_loop_;
@@ -206,7 +206,7 @@ class IpcDesktopEnvironmentTest : public testing::Test {
};
IpcDesktopEnvironmentTest::IpcDesktopEnvironmentTest()
- : message_loop_(MessageLoop::TYPE_UI),
+ : message_loop_(base::MessageLoop::TYPE_UI),
client_jid_("user@domain/rest-of-jid"),
clipboard_stub_(NULL),
remote_input_injector_(NULL),
@@ -222,8 +222,8 @@ void IpcDesktopEnvironmentTest::SetUp() {
task_runner_ = new AutoThreadTaskRunner(
message_loop_.message_loop_proxy(), main_run_loop_.QuitClosure());
- io_task_runner_ = AutoThread::CreateWithType("IPC thread", task_runner_,
- MessageLoop::TYPE_IO);
+ io_task_runner_ = AutoThread::CreateWithType(
+ "IPC thread", task_runner_, base::MessageLoop::TYPE_IO);
setup_run_loop_.reset(new base::RunLoop());
« no previous file with comments | « remoting/host/host_change_notification_listener_unittest.cc ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698