Index: chromeos/dbus/bluetooth_adapter_client.h |
diff --git a/chromeos/dbus/bluetooth_adapter_client.h b/chromeos/dbus/bluetooth_adapter_client.h |
index 6e59429b0a45ce07fcc013c31f95744be21916d7..9efc10d05dd3aef9ffa01d0517e96d0ace155fa9 100644 |
--- a/chromeos/dbus/bluetooth_adapter_client.h |
+++ b/chromeos/dbus/bluetooth_adapter_client.h |
@@ -14,6 +14,7 @@ |
#include "base/values.h" |
#include "chromeos/chromeos_export.h" |
#include "chromeos/dbus/bluetooth_device_client.h" |
+#include "chromeos/dbus/bluetooth_out_of_band_pairing_data.h" |
#include "chromeos/dbus/bluetooth_property.h" |
#include "chromeos/dbus/dbus_client_implementation_type.h" |
#include "dbus/object_path.h" |
@@ -227,6 +228,26 @@ class CHROMEOS_EXPORT BluetoothAdapterClient { |
const dbus::ObjectPath& agent_path, |
const AdapterCallback& callback) = 0; |
+ // Read the local Out Of Band Pairing Data and return it in |callback|. |
+ virtual void ReadLocalOutOfBandPairingData( |
+ const dbus::ObjectPath& object_path, |
+ const OutOfBandPairingDataCallback& callback) = 0; |
+ |
+ // Set the Out Of Band Pairing Data for the device at |address| to |data|, |
+ // indicating success via |callback|. Makes a copy of |data|. |
+ virtual void AddRemoteOutOfBandPairingData( |
+ const dbus::ObjectPath& object_path, |
+ const std::string& address, |
+ const OutOfBandPairingData& data, |
+ const AdapterCallback& callback) = 0; |
+ |
+ // Clear the Out Of Band Pairing Data for the device at |address|, indicating |
+ // success via |callback|. |
+ virtual void RemoveRemoteOutOfBandPairingData( |
+ const dbus::ObjectPath& object_path, |
+ const std::string& address, |
+ const AdapterCallback& callback) = 0; |
keybuk
2012/06/07 20:52:48
NAK, this should go in BluetoothOutOfBandDataClien
|
+ |
// Creates the instance. |
static BluetoothAdapterClient* Create(DBusClientImplementationType type, |
dbus::Bus* bus, |