Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: components/arc/bluetooth/arc_bluetooth_bridge.h

Issue 2391973003: arc: bluetooth: Send update to Android when got DeviceChanged event (Closed)
Patch Set: rebase again Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698