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

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

Issue 2391973003: arc: bluetooth: Send update to Android when got DeviceChanged event (Closed)
Patch Set: 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
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..8f24bdcebfdcf16484bdb7c240fba5331f86964d 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 SendDeviceData(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') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698