From 200328ab0dcebf5869a63fb891a58c3e39768b12 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Wed, 20 Feb 2013 01:36:53 +0000 Subject: DBus: Use TaskRunners instead of MessageLoopProxies. Review URL: https://chromiumcodereview.appspot.com/12255043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183362 0039d316-1c4b-4281-b951-d872f2087c98 --- dbus/test_service.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbus/test_service.cc') diff --git a/dbus/test_service.cc b/dbus/test_service.cc index d9dbf82..fcc34121 100644 --- a/dbus/test_service.cc +++ b/dbus/test_service.cc @@ -33,7 +33,7 @@ TestService::Options::~Options() { TestService::TestService(const Options& options) : base::Thread("TestService"), - dbus_thread_message_loop_proxy_(options.dbus_thread_message_loop_proxy), + dbus_task_runner_(options.dbus_task_runner), on_all_methods_exported_(false, false), num_exported_methods_(0) { } @@ -155,7 +155,7 @@ void TestService::Run(MessageLoop* message_loop) { Bus::Options bus_options; bus_options.bus_type = Bus::SESSION; bus_options.connection_type = Bus::PRIVATE; - bus_options.dbus_thread_message_loop_proxy = dbus_thread_message_loop_proxy_; + bus_options.dbus_task_runner = dbus_task_runner_; bus_ = new Bus(bus_options); bus_->RequestOwnership("org.chromium.TestService", -- cgit v1.1