Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1586)

Unified Diff: device/bluetooth/test/bluetooth_test.cc

Issue 2076433002: Revert of Add support in Chrome to send notifications to a specific device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/test/bluetooth_test.h ('k') | device/bluetooth/test/bluetooth_test_bluez.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*>
« no previous file with comments | « device/bluetooth/test/bluetooth_test.h ('k') | device/bluetooth/test/bluetooth_test_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698