dbus: move logic from Property<> to PropertySet

Rather than implement Get() and Set() in dbus::Property<> move the
code into dbus::PropertySet and pass a pointer to the property to
operate on from the wrapper call.

The advange of this way of doing things is that it's much easier to
make subclasses, since you only need to subclass dbus::PropertySet;
and ths makes it possible to mock.

BUG=chromium-os:28555
TEST=dbus_unittests

Change-Id: I760ca608d1e0a17422c11e0115c053d98be33fe0

R=satorux@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10698027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144756 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 091e0b6f3daf32cf818c0f6bbe8cb0b57c1cf8fb
2 files changed
tree: 872936a025fecc4cc99c8189d884092099b3a325
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/