Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2959)

Unified Diff: dbus/object_proxy.cc

Issue 115173002: dbus: Always return "not yet handled" for signals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_proxy.cc
diff --git a/dbus/object_proxy.cc b/dbus/object_proxy.cc
index d506392cf05417282800a1fc10880203efecd976..5167cab76035ee50ec7a9f49082e9a6656f76513 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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698