Index: device/bluetooth/test/mock_bluetooth_device.h |
diff --git a/device/bluetooth/test/mock_bluetooth_device.h b/device/bluetooth/test/mock_bluetooth_device.h |
index 663bfd850aa919a7ce9f84a7f665fa657f41841c..c742d8e2d97420717047b90b606d363391db0559 100644 |
--- a/device/bluetooth/test/mock_bluetooth_device.h |
+++ b/device/bluetooth/test/mock_bluetooth_device.h |
@@ -47,7 +47,7 @@ class MockBluetoothDevice : public BluetoothDevice { |
MOCK_CONST_METHOD0(ExpectingPasskey, bool()); |
MOCK_CONST_METHOD0(ExpectingConfirmation, bool()); |
MOCK_METHOD3(Connect, |
- void(BluetoothDevice::PairingDelegate* pairnig_delegate, |
+ void(BluetoothDevice::PairingDelegate* pairing_delegate, |
const base::Closure& callback, |
const BluetoothDevice::ConnectErrorCallback& |
error_callback)); |
@@ -63,6 +63,9 @@ class MockBluetoothDevice : public BluetoothDevice { |
MOCK_METHOD2(ConnectToService, |
void(const std::string&, |
const BluetoothDevice::SocketCallback&)); |
+ MOCK_METHOD2(ConnectToProfile, |
+ void(BluetoothProfile*, |
+ const BluetoothDevice::ErrorCallback&)); |
MOCK_METHOD3(SetOutOfBandPairingData, |
void(const BluetoothOutOfBandPairingData& data, |