diff options
Diffstat (limited to 'dbus/bus.h')
-rw-r--r-- | dbus/bus.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -511,6 +511,13 @@ class CHROME_DBUS_EXPORT Bus : public base::RefCountedThreadSafe<Bus> { // BLOCKING CALL. virtual void UnregisterObjectPath(const ObjectPath& object_path); + // Posts |task| to the task runner of the D-Bus thread. On completion, |reply| + // is posted to the origin thread. + virtual void PostTaskToDBusThreadAndReply( + const tracked_objects::Location& from_here, + const base::Closure& task, + const base::Closure& reply); + // Posts the task to the task runner of the thread that created the bus. virtual void PostTaskToOriginThread( const tracked_objects::Location& from_here, |