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

Unified Diff: remoting/host/desktop_process_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
« no previous file with comments | « remoting/host/desktop_process_main.cc ('k') | remoting/host/heartbeat_sender_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process_unittest.cc
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index 0c019be9fe345bad8c5fea8e03508b203d198484..60cc18bce0dc483ff4919bc269c95f812f00a7ad 100644
--- a/remoting/host/desktop_process_unittest.cc
+++ b/remoting/host/desktop_process_unittest.cc
@@ -144,7 +144,7 @@ class DesktopProcessTest : public testing::Test {
MockDaemonListener daemon_listener_;
// Runs the daemon's end of the channel.
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
scoped_refptr<AutoThreadTaskRunner> io_task_runner_;
@@ -155,10 +155,8 @@ class DesktopProcessTest : public testing::Test {
MockNetworkListener network_listener_;
};
-
DesktopProcessTest::DesktopProcessTest()
- : message_loop_(MessageLoop::TYPE_UI) {
-}
+ : message_loop_(base::MessageLoop::TYPE_UI) {}
DesktopProcessTest::~DesktopProcessTest() {
}
@@ -246,8 +244,8 @@ void DesktopProcessTest::RunDesktopProcess() {
scoped_refptr<AutoThreadTaskRunner> ui_task_runner = new AutoThreadTaskRunner(
message_loop_.message_loop_proxy(), quit_ui_task_runner);
- io_task_runner_ = AutoThread::CreateWithType("IPC thread", ui_task_runner,
- MessageLoop::TYPE_IO);
+ io_task_runner_ = AutoThread::CreateWithType(
+ "IPC thread", ui_task_runner, base::MessageLoop::TYPE_IO);
std::string channel_name = IPC::Channel::GenerateUniqueRandomChannelID();
daemon_channel_.reset(new IPC::ChannelProxy(
« no previous file with comments | « remoting/host/desktop_process_main.cc ('k') | remoting/host/heartbeat_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698