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

Unified Diff: device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h

Issue 1973343005: Remove service, add device, in BluetoothLocalGattService::Delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
diff --git a/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h b/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
index ec5e65eca4da18fb5f5360794f1f45e087b0a859..90f7513eab7488e060aa39fb5e162088a2ff0ca0 100644
--- a/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
+++ b/device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h
@@ -24,35 +24,35 @@ class TestBluetoothLocalGattServiceDelegate
// BluetoothLocalGattService::Delegate overrides:
void OnCharacteristicReadRequest(
- const BluetoothLocalGattService* service,
+ const BluetoothDevice* device,
const BluetoothLocalGattCharacteristic* characteristic,
int offset,
const ValueCallback& callback,
const ErrorCallback& error_callback) override;
void OnCharacteristicWriteRequest(
- const BluetoothLocalGattService* service,
+ const BluetoothDevice* device,
const BluetoothLocalGattCharacteristic* characteristic,
const std::vector<uint8_t>& value,
int offset,
const base::Closure& callback,
const ErrorCallback& error_callback) override;
- void OnDescriptorReadRequest(const BluetoothLocalGattService* service,
+ void OnDescriptorReadRequest(const BluetoothDevice* device,
const BluetoothLocalGattDescriptor* descriptor,
int offset,
const ValueCallback& callback,
const ErrorCallback& error_callback) override;
- void OnDescriptorWriteRequest(const BluetoothLocalGattService* service,
+ void OnDescriptorWriteRequest(const BluetoothDevice* device,
const BluetoothLocalGattDescriptor* descriptor,
const std::vector<uint8_t>& value,
int offset,
const base::Closure& callback,
const ErrorCallback& error_callback) override;
void OnNotificationsStart(
- const BluetoothLocalGattService* service,
+ const BluetoothDevice* device,
const BluetoothLocalGattCharacteristic* characteristic) override;
void OnNotificationsStop(
- const BluetoothLocalGattService* service,
+ const BluetoothDevice* device,
const BluetoothLocalGattCharacteristic* characteristic) override;
bool NotificationStatusForCharacteristic(
« no previous file with comments | « device/bluetooth/test/bluetooth_test_bluez.cc ('k') | device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698