diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-20 01:36:53 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-20 01:36:53 +0000 |
commit | 200328ab0dcebf5869a63fb891a58c3e39768b12 (patch) | |
tree | 16325243683583f306a51c05ca0c44518b4af1b2 /dbus/test_service.cc | |
parent | 044512594122e2feb1fb78bd96b59a300c98a253 (diff) | |
download | chromium_src-200328ab0dcebf5869a63fb891a58c3e39768b12.zip chromium_src-200328ab0dcebf5869a63fb891a58c3e39768b12.tar.gz chromium_src-200328ab0dcebf5869a63fb891a58c3e39768b12.tar.bz2 |
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
Diffstat (limited to 'dbus/test_service.cc')
-rw-r--r-- | dbus/test_service.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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", |