chromeos-dbus-bindings: Add support for dbus::Message in handler params

Added a new annotation attribute ("org.chromium.DBus.Method.IncludeDBusMessage")
for "normal" and "async" methods to allow to pass the raw D-Bus message
to the handler, so it can extract additional useful information (like
the message sender, etc).

BUG=brillo:346
TEST=`FEATURES=test emerge-link chromeos-dbus-bindings`

Change-Id: Iec2ff6154cfdbc8a36a84014688011e23762ba3a
Reviewed-on: https://chromium-review.googlesource.com/252321
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
6 files changed
tree: 0561ef1bc9c36ff42d470d79e5f0b68a3c786fff
  1. chromeos-dbus-bindings/