| Index: trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
|
| ===================================================================
|
| --- trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc (revision 262179)
|
| +++ trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc (working copy)
|
| @@ -92,10 +92,6 @@
|
| message_loop_.Quit();
|
| }
|
|
|
| - void ConnectToProfileErrorCallback(const std::string error) {
|
| - ErrorCallback();
|
| - }
|
| -
|
| void ProfileCallback(BluetoothProfile* profile) {
|
| ++profile_callback_count_;
|
| last_profile_ = profile;
|
| @@ -161,7 +157,7 @@
|
| profile,
|
| base::Bind(&BluetoothProfileChromeOSTest::Callback,
|
| base::Unretained(this)),
|
| - base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
|
| + base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
|
| base::Unretained(this)));
|
|
|
| message_loop_.Run();
|
| @@ -287,7 +283,7 @@
|
| profile,
|
| base::Bind(&BluetoothProfileChromeOSTest::Callback,
|
| base::Unretained(this)),
|
| - base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
|
| + base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
|
| base::Unretained(this)));
|
|
|
| message_loop_.Run();
|
|
|