chromeos-dbus-bindings: write access property support
DBus properties are default to read-only, so update the access mode
for properties that have write access. Also set the validator callback
for those properties as well.
Applications can override the validate method to provide their own
implementation for verifying the value for each writable property.
BUG=chromium:440139
TEST=USE="asan clang" FEATURES=test emerge-$BOARD libchromeos buffet
apmanager peerd
Change-Id: I3c8fd90218bb194f86fad7e9d76ff51f0e0861ec
Reviewed-on: https://chromium-review.googlesource.com/234281
Reviewed-by: Peter Qiu <zqiu@chromium.org>
Commit-Queue: Peter Qiu <zqiu@chromium.org>
Tested-by: Peter Qiu <zqiu@chromium.org>
2 files changed