commit | 1b7a616197af7ff753dbe7614a8e207b1e10ac1a | [log] [tgz] |
---|---|---|
author | Gaurav Shah <gauravsh@chromium.org> | Wed Nov 09 11:41:01 2011 -0800 |
committer | Gerrit <chrome-bot@google.com> | Fri Nov 11 11:21:15 2011 -0800 |
tree | 1bffa47b7dd9a98d8c33045860ddc31c6a58cdae | |
parent | 1272a43bf73f6a99f51a6cc6345183aa503cfb67 [diff] |
shill: Implement write-only properties Certain properties (e.g. WIFI Passphrase) are write only and must not be returned when Service.GetProperties() is called over D-Bus. This CL implements WriteOnlyProperties, a write-only analog of the read-only ConstProperties. Also add a ReadablePropertyConstIterator which only returns the readable properties. Switch over DBus adaptor and PropertyStore to use that. BUG=chromium-os:21196 TEST=Added 2 new unittests. Change-Id: I52815cc395650e0b49e1acac8d4954deeebcee5d Reviewed-on: https://gerrit.chromium.org/gerrit/11402 Commit-Ready: Gaurav Shah <gauravsh@chromium.org> Reviewed-by: Gaurav Shah <gauravsh@chromium.org> Tested-by: Gaurav Shah <gauravsh@chromium.org>