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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 2339253002: bluetooth: mac: add connected LE devices to chooser (Closed)
Patch Set: Adding BluetoothAdapter::RetrievedConnectedPeripherals() and the implementation in BluetoothAdapter… Created 4 years, 3 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 | device/bluetooth/bluetooth_adapter_mac.h » ('j') | device/bluetooth/bluetooth_adapter_mac.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 3b864c308c9cb25cd68b963f68862889ea3b000c..1479a805625ccb7af0bb106882b06e6db1953c53 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -320,6 +320,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
// Indicates whether the adapter is currently discovering new devices.
virtual bool IsDiscovering() const = 0;
+ // This function get add all the connected peripherals into |devices_|.
ortuno 2016/09/28 23:15:52 Could you open an issue and add a TODO for impleme
jlebel 2016/10/05 14:09:41 Done.
+ virtual void RetrievedConnectedPeripherals() {}
+
// Requests the adapter to start a new discovery session. On success, a new
// instance of BluetoothDiscoverySession will be returned to the caller via
// |callback| and the adapter will be discovering nearby Bluetooth devices.
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_mac.h » ('j') | device/bluetooth/bluetooth_adapter_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698