Index: device/bluetooth/test/bluetooth_test.cc |
diff --git a/device/bluetooth/test/bluetooth_test.cc b/device/bluetooth/test/bluetooth_test.cc |
index 61f741265f1cb9f020a1d19c94c480fb7f2a8e34..de47f463ad31415623f0027765b0a09e388a5ebb 100644 |
--- a/device/bluetooth/test/bluetooth_test.cc |
+++ b/device/bluetooth/test/bluetooth_test.cc |
@@ -27,23 +27,6 @@ |
const std::string BluetoothTestBase::kTestUUIDGenericAttribute = "1801"; |
const std::string BluetoothTestBase::kTestUUIDImmediateAlert = "1802"; |
const std::string BluetoothTestBase::kTestUUIDLinkLoss = "1803"; |
- |
-BluetoothTestBase::NotificationType::NotificationType() : indicate(false) {} |
- |
-BluetoothTestBase::NotificationType::NotificationType( |
- std::string device_path, |
- std::vector<uint8_t> value, |
- bool indicate) |
- : device_path(device_path), value(value), indicate(indicate) {} |
- |
-BluetoothTestBase::NotificationType::NotificationType( |
- const NotificationType& obj) { |
- this->device_path = obj.device_path; |
- this->value = obj.value; |
- this->indicate = obj.indicate; |
-} |
- |
-BluetoothTestBase::NotificationType::~NotificationType() {} |
BluetoothTestBase::BluetoothTestBase() : weak_factory_(this) {} |
@@ -92,11 +75,10 @@ |
return false; |
} |
-BluetoothTestBase::NotificationType |
-BluetoothTestBase::LastNotifactionValueForCharacteristic( |
+std::vector<uint8_t> BluetoothTestBase::LastNotifactionValueForCharacteristic( |
BluetoothLocalGattCharacteristic* characteristic) { |
NOTIMPLEMENTED(); |
- return NotificationType(); |
+ return std::vector<uint8_t>(); |
} |
std::vector<BluetoothLocalGattService*> |