Chromium Code Reviews| 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..68df986325c311d318f495e846485e1de54677e9 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,13 +206,12 @@ 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), |
| terminal_id_(-1), |
| - client_session_control_factory_(&client_session_control_) { |
| -} |
| + client_session_control_factory_(&client_session_control_) {} |
|
alexeypa (please no reviews)
2013/04/29 17:17:41
nit: Please move the closing bracket to the next l
xhwang
2013/04/30 00:02:36
Done.
|
| IpcDesktopEnvironmentTest::~IpcDesktopEnvironmentTest() { |
| } |
| @@ -222,8 +221,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()); |