| Index: device/bluetooth/bluetooth_profile_chromeos_unittest.cc
|
| diff --git a/device/bluetooth/bluetooth_profile_chromeos_unittest.cc b/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
|
| index da2f6595c8da3186cb8d274fe4b42da9ed325073..6fa5815fe383311df5dbe07c123c2d92515a6102 100644
|
| --- a/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
|
| +++ b/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
|
| @@ -90,6 +90,10 @@ class BluetoothProfileChromeOSTest : public testing::Test {
|
| message_loop_.Quit();
|
| }
|
|
|
| + void ConnectToProfileErrorCallback(const std::string error) {
|
| + ErrorCallback();
|
| + }
|
| +
|
| void ProfileCallback(BluetoothProfile* profile) {
|
| ++profile_callback_count_;
|
| last_profile_ = profile;
|
| @@ -155,7 +159,7 @@ TEST_F(BluetoothProfileChromeOSTest, L2capEndToEnd) {
|
| profile,
|
| base::Bind(&BluetoothProfileChromeOSTest::Callback,
|
| base::Unretained(this)),
|
| - base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
|
| + base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
|
| base::Unretained(this)));
|
|
|
| message_loop_.Run();
|
| @@ -281,7 +285,7 @@ TEST_F(BluetoothProfileChromeOSTest, RfcommEndToEnd) {
|
| profile,
|
| base::Bind(&BluetoothProfileChromeOSTest::Callback,
|
| base::Unretained(this)),
|
| - base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
|
| + base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
|
| base::Unretained(this)));
|
|
|
| message_loop_.Run();
|
|
|