Descriptiondbus: 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144756
Patch Set 1 #Patch Set 2 : add missing overrides for clang #
Messages
Total messages: 4 (0 generated)
|