summaryrefslogtreecommitdiffstats
path: root/dbus/object_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/object_proxy.h')
-rw-r--r--dbus/object_proxy.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h
index 23c0f4c..44652d6 100644
--- a/dbus/object_proxy.h
+++ b/dbus/object_proxy.h
@@ -10,6 +10,7 @@
#include <map>
#include <set>
#include <string>
+#include <vector>
#include "base/callback.h"
#include "base/memory/ref_counted.h"
@@ -222,7 +223,7 @@ class CHROME_DBUS_EXPORT ObjectProxy
// Runs the method. Helper function for HandleMessage().
void RunMethod(base::TimeTicks start_time,
- SignalCallback signal_callback,
+ std::vector<SignalCallback> signal_callbacks,
Signal* signal);
// Redirects the function call to HandleMessage().
@@ -268,8 +269,8 @@ class CHROME_DBUS_EXPORT ObjectProxy
bool filter_added_;
// The method table where keys are absolute signal names (i.e. interface
- // name + signal name), and values are the corresponding callbacks.
- typedef std::map<std::string, SignalCallback> MethodTable;
+ // name + signal name), and values are lists of the corresponding callbacks.
+ typedef std::map<std::string, std::vector<SignalCallback> > MethodTable;
MethodTable method_table_;
// The callback called when NameOwnerChanged signal is received.