summaryrefslogtreecommitdiffstats
path: root/dbus/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/bus.h')
-rw-r--r--dbus/bus.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dbus/bus.h b/dbus/bus.h
index 5cf73ac..03e2aa5 100644
--- a/dbus/bus.h
+++ b/dbus/bus.h
@@ -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,