chromeos: dbus: add Bluetooth properties support
commita528abfdaf56b35ccd381cbce2807b5d0da2710e
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 16 Feb 2012 00:27:55 +0000 (16 00:27 +0000)
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 16 Feb 2012 00:27:55 +0000 (16 00:27 +0000)
treedae8d5553eaf56fcf2f762f31291c73a2696b832
parent1a37270131187ccf5e914e08c445b11ae30a9106
chromeos: dbus: add Bluetooth properties support

BlueZ predates the standard D-Bus Properties API, so we can't use the
new dbus::Property<> and dbus::PropertySet for it. Fortunately it did
at least inspire the standard API, so derive a BluetoothProperty<> and
BluetoothPropertySet respectively that generate the correct D-Bus
methods, connect the correct signals and parse them properly.

BUG=chromium-os:22086
TEST=verified with dbus-send

Change-Id: I71c871175c98a007c547792af8765baf550e4498

Review URL: http://codereview.chromium.org/9379044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122199 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/dbus/bluetooth_property.cc [new file with mode: 0644]
chrome/browser/chromeos/dbus/bluetooth_property.h [new file with mode: 0644]
chrome/chrome_browser.gypi