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

Unified Diff: remoting/host/win/worker_process_launcher_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/win/rdp_client_unittest.cc ('k') | remoting/host/win/wts_session_process_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/worker_process_launcher_unittest.cc
diff --git a/remoting/host/win/worker_process_launcher_unittest.cc b/remoting/host/win/worker_process_launcher_unittest.cc
index e10617963f128da1bf6e1de47cdda5594618bf57..71090ead11ed2515c2efc1f601c4e5cd2079fc01 100644
--- a/remoting/host/win/worker_process_launcher_unittest.cc
+++ b/remoting/host/win/worker_process_launcher_unittest.cc
@@ -144,7 +144,7 @@ class WorkerProcessLauncherTest : public testing::Test {
void QuitMainMessageLoop();
protected:
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
scoped_refptr<AutoThreadTaskRunner> task_runner_;
// Receives messages sent to the worker process.
@@ -176,12 +176,10 @@ class WorkerProcessLauncherTest : public testing::Test {
bool permanent_error_;
};
-
WorkerProcessLauncherTest::WorkerProcessLauncherTest()
- : message_loop_(MessageLoop::TYPE_IO),
+ : message_loop_(base::MessageLoop::TYPE_IO),
client_pid_(GetCurrentProcessId()),
- permanent_error_(false) {
-}
+ permanent_error_(false) {}
WorkerProcessLauncherTest::~WorkerProcessLauncherTest() {
}
@@ -330,7 +328,7 @@ void WorkerProcessLauncherTest::StopWorker() {
}
void WorkerProcessLauncherTest::QuitMainMessageLoop() {
- message_loop_.PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
TEST_F(WorkerProcessLauncherTest, Start) {
« no previous file with comments | « remoting/host/win/rdp_client_unittest.cc ('k') | remoting/host/win/wts_session_process_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698