Index: components/arc/bluetooth/arc_bluetooth_bridge.h |
diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.h b/components/arc/bluetooth/arc_bluetooth_bridge.h |
index f8b7150c768c09c130b7ecb9306dfe379a473a7b..2658f7c4d00487db5dd67fe47e6949ae894035ed 100644 |
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h |
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h |
@@ -265,6 +265,14 @@ class ArcBluetoothBridge |
mojo::Array<uint8_t> value, |
const SendIndicationCallback& callback) override; |
+ // Bluetooth Mojo host interface - Bluetooth SDP functions |
+ void GetSdpRecords(mojom::BluetoothAddressPtr remote_addr, |
+ mojom::BluetoothUUIDPtr target_uuid) override; |
+ void CreateSdpRecord(mojom::BluetoothSdpRecordPtr record, |
+ const CreateSdpRecordCallback& callback) override; |
+ void RemoveSdpRecord(uint32_t service_handle, |
+ const RemoveSdpRecordCallback& callback) override; |
+ |
// Chrome observer callbacks |
void OnPoweredOn( |
const base::Callback<void(mojom::BluetoothAdapterState)>& callback) const; |
@@ -359,6 +367,15 @@ class ArcBluetoothBridge |
const base::Closure& success_callback, |
const ErrorCallback& error_callback); |
+ void OnGetServiceRecordsDone( |
+ mojom::BluetoothAddressPtr remote_addr, |
+ mojom::BluetoothUUIDPtr target_uuid, |
+ const std::vector<bluez::BluetoothServiceRecordBlueZ>& records); |
+ void OnGetServiceRecordsError( |
+ mojom::BluetoothAddressPtr remote_addr, |
+ mojom::BluetoothUUIDPtr target_uuid, |
+ bluez::BluetoothServiceRecordBlueZ::ErrorCode error_code); |
+ |
bool CalledOnValidThread(); |
mojo::Binding<mojom::BluetoothHost> binding_; |