summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_profile_chromeos_unittest.cc')
-rw-r--r--device/bluetooth/bluetooth_profile_chromeos_unittest.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/device/bluetooth/bluetooth_profile_chromeos_unittest.cc b/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
index 277e8b3..24061b7 100644
--- a/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
+++ b/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
@@ -92,10 +92,6 @@ 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;
@@ -161,7 +157,7 @@ TEST_F(BluetoothProfileChromeOSTest, L2capEndToEnd) {
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 @@ TEST_F(BluetoothProfileChromeOSTest, RfcommEndToEnd) {
profile,
base::Bind(&BluetoothProfileChromeOSTest::Callback,
base::Unretained(this)),
- base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
+ base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
base::Unretained(this)));
message_loop_.Run();