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 bc028e5b1932cbaaf6afffedf26f120941df8302..3b70a2559d3004b46257b4b6f01c47b781376423 100644 |
--- a/device/bluetooth/test/mock_bluetooth_device.h |
+++ b/device/bluetooth/test/mock_bluetooth_device.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "base/sequenced_task_runner.h" |
#include "base/strings/string16.h" |
#include "device/bluetooth/bluetooth_device.h" |
#include "device/bluetooth/bluetooth_out_of_band_pairing_data.h" |
@@ -67,10 +68,14 @@ class MockBluetoothDevice : public BluetoothDevice { |
MOCK_METHOD2(ConnectToService, |
void(const std::string&, |
const BluetoothDevice::SocketCallback&)); |
- MOCK_METHOD3(ConnectToProfile, |
- void(BluetoothProfile*, |
- const base::Closure&, |
- const BluetoothDevice::ErrorCallback&)); |
+ MOCK_METHOD7(ConnectToProfile, |
+ void(BluetoothProfile* profile, |
+ scoped_refptr<base::SequencedTaskRunner> ui_task_runner, |
+ scoped_refptr<base::SequencedTaskRunner> file_task_runner, |
+ net::NetLog* net_log, |
+ const net::NetLog::Source& source, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback)); |
MOCK_METHOD3(SetOutOfBandPairingData, |
void(const BluetoothOutOfBandPairingData& data, |