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

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: 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..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());

Powered by Google App Engine
This is Rietveld 408576698