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

Unified Diff: dbus/bus_unittest.cc

Issue 12255043: DBus: Use TaskRunners instead of MessageLoopProxies. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 10 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: dbus/bus_unittest.cc
===================================================================
--- dbus/bus_unittest.cc (revision 183314)
+++ dbus/bus_unittest.cc (working copy)
@@ -97,7 +97,7 @@
// Create the bus.
dbus::Bus::Options options;
- options.dbus_thread_message_loop_proxy = dbus_thread.message_loop_proxy();
+ options.dbus_task_runner = dbus_thread.message_loop_proxy();
scoped_refptr<dbus::Bus> bus = new dbus::Bus(options);
ASSERT_FALSE(bus->shutdown_completed());
@@ -177,7 +177,7 @@
// Create the bus.
dbus::Bus::Options options;
- options.dbus_thread_message_loop_proxy = dbus_thread.message_loop_proxy();
+ options.dbus_task_runner = dbus_thread.message_loop_proxy();
scoped_refptr<dbus::Bus> bus = new dbus::Bus(options);
ASSERT_FALSE(bus->shutdown_completed());
@@ -227,7 +227,7 @@
// Create the bus.
dbus::Bus::Options options;
- options.dbus_thread_message_loop_proxy = dbus_thread.message_loop_proxy();
+ options.dbus_task_runner = dbus_thread.message_loop_proxy();
scoped_refptr<dbus::Bus> bus = new dbus::Bus(options);
ASSERT_FALSE(bus->shutdown_completed());
« no previous file with comments | « dbus/bus.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | dbus/mock_bus.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698