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 c0ad8ffdb71f3ffdafd6350fc3e94b6afef2942b..5affe9fa3522641f1cc86b6f9c57e46b39882634 100644 |
--- a/components/arc/bluetooth/arc_bluetooth_bridge.h |
+++ b/components/arc/bluetooth/arc_bluetooth_bridge.h |
@@ -321,11 +321,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; |
@@ -380,6 +380,8 @@ class ArcBluetoothBridge |
void OnSetAdapterProperty(mojom::BluetoothStatus success, |
mojom::BluetoothPropertyPtr property); |
+ void SendDevice(const device::BluetoothDevice* device) const; |
+ |
bool CalledOnValidThread(); |
mojo::Binding<mojom::BluetoothHost> binding_; |