diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 16:10:30 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 16:10:30 +0000 |
commit | ff33b18e23fdbfeaa9df0b553e2d4288839816a5 (patch) | |
tree | 7b746aedef79d2c00d49665fdeda828e735b658f /dbus/end_to_end_async_unittest.cc | |
parent | 89ba3866f85a50efec9405376e9ecbd0d155bbab (diff) | |
download | chromium_src-ff33b18e23fdbfeaa9df0b553e2d4288839816a5.zip chromium_src-ff33b18e23fdbfeaa9df0b553e2d4288839816a5.tar.gz chromium_src-ff33b18e23fdbfeaa9df0b553e2d4288839816a5.tar.bz2 |
dbus: Use base::MessageLoop.
BUG=236029
R=keybuk@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14386016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/end_to_end_async_unittest.cc')
-rw-r--r-- | dbus/end_to_end_async_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/end_to_end_async_unittest.cc b/dbus/end_to_end_async_unittest.cc index 7ef1725..210431f 100644 --- a/dbus/end_to_end_async_unittest.cc +++ b/dbus/end_to_end_async_unittest.cc @@ -41,7 +41,7 @@ class EndToEndAsyncTest : public testing::Test { // Start the D-Bus thread. dbus_thread_.reset(new base::Thread("D-Bus Thread")); base::Thread::Options thread_options; - thread_options.message_loop_type = MessageLoop::TYPE_IO; + thread_options.message_loop_type = base::MessageLoop::TYPE_IO; ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); // Start the test service, using the D-Bus thread. @@ -253,7 +253,7 @@ class EndToEndAsyncTest : public testing::Test { message_loop_.Run(); } - MessageLoop message_loop_; + base::MessageLoop message_loop_; std::vector<std::string> response_strings_; std::vector<std::string> error_names_; scoped_ptr<base::Thread> dbus_thread_; @@ -537,7 +537,7 @@ TEST_F(EndToEndAsyncTest, EmptyResponseCallback) { dbus::ObjectProxy::EmptyResponseCallback()); // Post a delayed task to quit the message loop. message_loop_.PostDelayedTask(FROM_HERE, - MessageLoop::QuitClosure(), + base::MessageLoop::QuitClosure(), TestTimeouts::tiny_timeout()); message_loop_.Run(); // We cannot tell if the empty callback is called, but at least we can |