| Index: device/bluetooth/bluetooth_socket_chromeos.cc
|
| diff --git a/device/bluetooth/bluetooth_socket_chromeos.cc b/device/bluetooth/bluetooth_socket_chromeos.cc
|
| index eb53bd2e6270cfb7c093e16e868f7077aa3f8193..5eedf5b1c5a27b0028f0502067888ebb9f8a36da 100644
|
| --- a/device/bluetooth/bluetooth_socket_chromeos.cc
|
| +++ b/device/bluetooth/bluetooth_socket_chromeos.cc
|
| @@ -92,6 +92,7 @@ BluetoothSocketChromeOS::~BluetoothSocketChromeOS() {
|
| void BluetoothSocketChromeOS::Connect(
|
| const BluetoothDeviceChromeOS* device,
|
| const BluetoothUUID& uuid,
|
| + SecurityLevel security_level,
|
| const base::Closure& success_callback,
|
| const ErrorCompletionCallback& error_callback) {
|
| DCHECK(ui_task_runner()->RunsTasksOnCurrentThread());
|
| @@ -107,6 +108,8 @@ void BluetoothSocketChromeOS::Connect(
|
| device_path_ = device->object_path();
|
| uuid_ = uuid;
|
| options_.reset(new BluetoothProfileManagerClient::Options());
|
| + if (security_level == SECURITY_LEVEL_LOW)
|
| + options_->require_authentication.reset(new bool(false));
|
|
|
| RegisterProfile(success_callback, error_callback);
|
| }
|
|
|