| 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 c1a6ade02b395302cca0302fb0cefdd8e0974edb..3669749ed60586163c5a2a822109b3be404e8c11 100644
|
| --- a/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| +++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| @@ -10,6 +10,7 @@
|
| #include <memory>
|
| #include <string>
|
| #include <unordered_map>
|
| +#include <unordered_set>
|
| #include <vector>
|
|
|
| #include "base/callback.h"
|
| @@ -266,6 +267,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_mojo,
|
| + 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;
|
| @@ -360,6 +369,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_bluez);
|
| + void OnGetServiceRecordsError(
|
| + mojom::BluetoothAddressPtr remote_addr,
|
| + mojom::BluetoothUUIDPtr target_uuid,
|
| + bluez::BluetoothServiceRecordBlueZ::ErrorCode error_code);
|
| +
|
| bool CalledOnValidThread();
|
|
|
| mojo::Binding<mojom::BluetoothHost> binding_;
|
|
|