| Index: device/bluetooth/bluetooth_device_mac.mm
|
| diff --git a/device/bluetooth/bluetooth_device_mac.mm b/device/bluetooth/bluetooth_device_mac.mm
|
| index 888ae69adcd759843984a901367e3cbd40c828ae..4aad7cf8032c392e9a8c2870b4e885c1a17d7496 100644
|
| --- a/device/bluetooth/bluetooth_device_mac.mm
|
| +++ b/device/bluetooth/bluetooth_device_mac.mm
|
| @@ -29,6 +29,8 @@
|
| namespace device {
|
| namespace {
|
|
|
| +const char kApiUnavailable[] = "This API is not implemented on this platform.";
|
| +
|
| // Returns the first (should be, only) UUID contained within the
|
| // |service_class_data|. Returns an invalid (empty) UUID if none is found.
|
| BluetoothUUID ExtractUuid(IOBluetoothSDPDataElement* service_class_data) {
|
| @@ -207,6 +209,13 @@ void BluetoothDeviceMac::ConnectToService(
|
| device_.get(), uuid, base::Bind(callback, socket), error_callback);
|
| }
|
|
|
| +void BluetoothDeviceMac::ConnectToServiceInsecurely(
|
| + const BluetoothUUID& uuid,
|
| + const ConnectToServiceCallback& callback,
|
| + const ConnectToServiceErrorCallback& error_callback) {
|
| + error_callback.Run(kApiUnavailable);
|
| +}
|
| +
|
| void BluetoothDeviceMac::CreateGattConnection(
|
| const GattConnectionCallback& callback,
|
| const ConnectErrorCallback& error_callback) {
|
|
|