diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 08:41:57 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-17 08:41:57 +0000 |
commit | d96f36012927a164297f0f4127eea9cca6bb9541 (patch) | |
tree | 38a52fa79c646e814918430cb7b307d9c7c64147 /dbus | |
parent | 995a943dad93d9331d04078af31c2ab34602ab41 (diff) | |
download | chromium_src-d96f36012927a164297f0f4127eea9cca6bb9541.zip chromium_src-d96f36012927a164297f0f4127eea9cca6bb9541.tar.gz chromium_src-d96f36012927a164297f0f4127eea9cca6bb9541.tar.bz2 |
dbus: Always return "not yet handled" for signals
BUG=327172
Review URL: https://codereview.chromium.org/115173002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/object_proxy.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/object_proxy.cc b/dbus/object_proxy.cc index d506392..5167cab 100644 --- a/dbus/object_proxy.cc +++ b/dbus/object_proxy.cc @@ -523,7 +523,9 @@ DBusHandlerResult ObjectProxy::HandleMessage( RunMethod(start_time, iter->second, released_signal); } - return DBUS_HANDLER_RESULT_HANDLED; + // We don't return DBUS_HANDLER_RESULT_HANDLED for signals because other + // objects may be interested in them. (e.g. Signals from org.freedesktop.DBus) + return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } void ObjectProxy::RunMethod(base::TimeTicks start_time, |