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 de365c2e166e57b74a0cb422e41eb482f9a17333..f3a3c66d0e6b64e0fd4b1376542ae1e0319bcf3e 100644 |
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h |
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h |
@@ -333,11 +333,11 @@ class ArcBluetoothBridge |
private: |
mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties( |
mojom::BluetoothPropertyType type, |
- device::BluetoothDevice* device) const; |
+ const device::BluetoothDevice* device) const; |
mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties( |
mojom::BluetoothPropertyType type) const; |
mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData( |
- device::BluetoothDevice* device) const; |
+ const device::BluetoothDevice* device) const; |
void SendCachedDevicesFound() const; |
@@ -428,6 +428,8 @@ class ArcBluetoothBridge |
// or return false if the advertisement map is full. |
bool GetAdvertisementHandle(int32_t* adv_handle); |
+ void SendDevice(const device::BluetoothDevice* device) const; |
+ |
bool CalledOnValidThread(); |
mojo::Binding<mojom::BluetoothHost> binding_; |