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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_mac.mm

Issue 2904363002: bluetooth: macOS: Removing intermediate methods in BluetoothRemoteServiceMac (Closed)
Patch Set: Created 3 years, 7 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/bluetooth_remote_gatt_service_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_remote_gatt_service_mac.mm
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_mac.mm b/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
index 06ed41997d8c3d509b74812bd546f7192096ff52..a7bbeee2b5fd6e0b1b3806f6ecc511aadc9b44f6 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
+++ b/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
@@ -174,33 +174,6 @@ void BluetoothRemoteGattServiceMac::SendNotificationIfComplete() {
}
}
-void BluetoothRemoteGattServiceMac::DidUpdateValue(
- CBCharacteristic* characteristic,
- NSError* error) {
- BluetoothRemoteGattCharacteristicMac* gatt_characteristic =
- GetBluetoothRemoteGattCharacteristicMac(characteristic);
- DCHECK(gatt_characteristic);
- gatt_characteristic->DidUpdateValue(error);
-}
-
-void BluetoothRemoteGattServiceMac::DidWriteValue(
- CBCharacteristic* characteristic,
- NSError* error) {
- BluetoothRemoteGattCharacteristicMac* gatt_characteristic =
- GetBluetoothRemoteGattCharacteristicMac(characteristic);
- DCHECK(gatt_characteristic);
- gatt_characteristic->DidWriteValue(error);
-}
-
-void BluetoothRemoteGattServiceMac::DidUpdateNotificationState(
- CBCharacteristic* characteristic,
- NSError* error) {
- BluetoothRemoteGattCharacteristicMac* gatt_characteristic =
- GetBluetoothRemoteGattCharacteristicMac(characteristic);
- DCHECK(gatt_characteristic);
- gatt_characteristic->DidUpdateNotificationState(error);
-}
-
bool BluetoothRemoteGattServiceMac::IsDiscoveryComplete() const {
return is_discovery_complete_;
}
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698