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

Unified Diff: remoting/host/config_file_watcher_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/clipboard_x11.cc ('k') | remoting/host/daemon_process_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/config_file_watcher_unittest.cc
diff --git a/remoting/host/config_file_watcher_unittest.cc b/remoting/host/config_file_watcher_unittest.cc
index 42fea391176cce234a8875761d28f23a3fdd54e3..060c1aba85ac2af5039f1715dd39d99badfa7bd5 100644
--- a/remoting/host/config_file_watcher_unittest.cc
+++ b/remoting/host/config_file_watcher_unittest.cc
@@ -49,7 +49,7 @@ class ConfigFileWatcherTest : public testing::Test {
void StopWatcher();
protected:
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
base::RunLoop run_loop_;
ConfigFileWatcherDelegate delegate_;
@@ -61,9 +61,8 @@ class ConfigFileWatcherTest : public testing::Test {
scoped_ptr<ConfigFileWatcher> watcher_;
};
-
ConfigFileWatcherTest::ConfigFileWatcherTest()
- : message_loop_(MessageLoop::TYPE_UI) {
+ : message_loop_(base::MessageLoop::TYPE_UI) {
}
ConfigFileWatcherTest::~ConfigFileWatcherTest() {
@@ -79,8 +78,8 @@ void ConfigFileWatcherTest::SetUp() {
message_loop_.message_loop_proxy(), run_loop_.QuitClosure());
scoped_refptr<AutoThreadTaskRunner> io_task_runner =
- AutoThread::CreateWithType("IPC thread", task_runner,
- MessageLoop::TYPE_IO);
+ AutoThread::CreateWithType(
+ "IPC thread", task_runner, base::MessageLoop::TYPE_IO);
// Create an instance of the config watcher.
watcher_.reset(
« no previous file with comments | « remoting/host/clipboard_x11.cc ('k') | remoting/host/daemon_process_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698