commit | 0153cf04c8e44df147ea71e5ea7c3b9950fbb5cf | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Mon Jun 02 11:53:36 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Sun Jun 15 01:38:57 2014 +0000 |
tree | 085ff74f6d09d0c446992455a2b1330771b76bc5 | |
parent | b7bf216f6f8b482123820afcfe22a7c2d3b19c9f [diff] |
shill: PropertyChangeNotifier: Initial commit Add a PropertyObserver, whose task is to track changes to the returned value of an accessor. Further, create a ServicePropertyChangeNotifier, whose task is to monitor a collection of PropertyObservers for a Service and call the appropriate Emit*Property method for those properties which have changed. BUG=chromium:379948 TEST=Unit tests Change-Id: I450b74b388f8ecb44010f277cc77149412b24950 Reviewed-on: https://chromium-review.googlesource.com/202441 Reviewed-by: mukesh agrawal <quiche@chromium.org> Commit-Queue: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>