diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 22:28:42 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 22:28:42 +0000 |
commit | b8907a48776fa0141f0addfb62d54a69d1ba306c (patch) | |
tree | 2840c50d775f50563b56075023f5198b0bade21c /dbus/bus.h | |
parent | 791fecafd19065160d0d546e497c8af1d0e1692a (diff) | |
download | chromium_src-b8907a48776fa0141f0addfb62d54a69d1ba306c.zip chromium_src-b8907a48776fa0141f0addfb62d54a69d1ba306c.tar.gz chromium_src-b8907a48776fa0141f0addfb62d54a69d1ba306c.tar.bz2 |
Use MessageLoopProxy for the origin message loop as well.
Inspired by mdm's patch to use the message loop proxy for the D-Bus thread.
Using MessageLoopProxy is a great way to make shutdown safer.
We should use this for the origin message loop as well.
BUG=chromium:90036
TEST=dbus_unittests
Review URL: http://codereview.chromium.org/7847013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/bus.h')
-rw-r--r-- | dbus/bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -436,7 +436,7 @@ class Bus : public base::RefCountedThreadSafe<Bus> { base::WaitableEvent on_shutdown_; DBusConnection* connection_; - MessageLoop* origin_loop_; + scoped_refptr<base::MessageLoopProxy> origin_message_loop_proxy_; base::PlatformThreadId origin_thread_id_; std::set<std::string> owned_service_names_; |