| Index: device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| diff --git a/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h b/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| index 20d63a123f92515ebb4a622f85e3e762ba81cf44..bc6a33f55880ed61983cc1c563f11b4e65a8e8fb 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| +++ b/device/bluetooth/bluetooth_low_energy_discovery_manager_mac.h
|
| @@ -26,6 +26,7 @@ class BluetoothLowEnergyDiscoveryManagerMac {
|
| class Observer {
|
| public:
|
| // Called when |this| manager has found a device or an update on a device.
|
| + // |advertisementData| can be nil if the peripheral is already connected.
|
| virtual void LowEnergyDeviceUpdated(CBPeripheral* peripheral,
|
| NSDictionary* advertisementData,
|
| int rssi) = 0;
|
| @@ -42,7 +43,7 @@ class BluetoothLowEnergyDiscoveryManagerMac {
|
| // Initiates a discovery session.
|
| // BluetoothLowEnergyDeviceMac objects discovered within a previous
|
| // discovery session will be invalid.
|
| - virtual void StartDiscovery(BluetoothDevice::UUIDList services_uuids);
|
| + virtual void StartDiscovery(NSArray* services_uuids);
|
|
|
| // Stops a discovery session.
|
| virtual void StopDiscovery();
|
| @@ -85,7 +86,7 @@ class BluetoothLowEnergyDiscoveryManagerMac {
|
| bool pending_;
|
|
|
| // List of service UUIDs to scan.
|
| - BluetoothDevice::UUIDList services_uuids_;
|
| + base::scoped_nsobject<NSArray> services_uuids_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDiscoveryManagerMac);
|
| };
|
|
|