Index: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc |
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc |
index e92dd42aa22caefcaab353aecea05f06b822cf1c..2864688948b802765474da1382044001a7453347 100644 |
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc |
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc |
@@ -403,6 +403,26 @@ void EasyUnlockPrivateSeekBluetoothDeviceByAddressFunction::OnSeekCompleted( |
} |
} |
+EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction:: |
+ EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction() {} |
+ |
+EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction:: |
+ ~EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction() {} |
+ |
+void EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction:: |
+ ConnectToService(device::BluetoothDevice* device, |
+ const device::BluetoothUUID& uuid) { |
+ easy_unlock::ConnectToBluetoothServiceInsecurely( |
+ device, |
+ uuid, |
+ base::Bind(&EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction:: |
+ OnConnect, |
+ this), |
+ base::Bind(&EasyUnlockPrivateConnectToBluetoothServiceInsecurelyFunction:: |
+ OnConnectError, |
+ this)); |
+} |
+ |
EasyUnlockPrivateUpdateScreenlockStateFunction:: |
EasyUnlockPrivateUpdateScreenlockStateFunction() {} |