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

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: 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/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..93ab628e5f5586b32556e2cba261523861fde5d3 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,10 +61,8 @@ class ConfigFileWatcherTest : public testing::Test {
scoped_ptr<ConfigFileWatcher> watcher_;
};
-
ConfigFileWatcherTest::ConfigFileWatcherTest()
- : message_loop_(MessageLoop::TYPE_UI) {
-}
+ : message_loop_(base::MessageLoop::TYPE_UI) {}
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.
ConfigFileWatcherTest::~ConfigFileWatcherTest() {
}
@@ -79,8 +77,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(

Powered by Google App Engine
This is Rietveld 408576698