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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.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: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index 9cd33a85bd1ff5b66b32392b45cee601fe1b62ab..a7e6c29a15b6004643819c93f0ccf2218e6e1507 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -311,36 +311,36 @@ class BluetoothLowEnergyEventRouter
// device::BluetoothLocalGattService::Delegate overrides.
void OnCharacteristicReadRequest(
- const device::BluetoothLocalGattService* service,
+ const device::BluetoothDevice* device,
const device::BluetoothLocalGattCharacteristic* characteristic,
int offset,
const Delegate::ValueCallback& value_callback,
const Delegate::ErrorCallback& error_callback) override;
void OnCharacteristicWriteRequest(
- const device::BluetoothLocalGattService* service,
+ const device::BluetoothDevice* device,
const device::BluetoothLocalGattCharacteristic* characteristic,
const std::vector<uint8_t>& value,
int offset,
const base::Closure& callback,
const Delegate::ErrorCallback& error_callback) override;
void OnDescriptorReadRequest(
- const device::BluetoothLocalGattService* service,
+ const device::BluetoothDevice* device,
const device::BluetoothLocalGattDescriptor* descriptor,
int offset,
const Delegate::ValueCallback& value_callback,
const Delegate::ErrorCallback& error_callback) override;
void OnDescriptorWriteRequest(
- const device::BluetoothLocalGattService* service,
+ const device::BluetoothDevice* device,
const device::BluetoothLocalGattDescriptor* descriptor,
const std::vector<uint8_t>& value,
int offset,
const base::Closure& callback,
const Delegate::ErrorCallback& error_callback) override;
void OnNotificationsStart(
- const device::BluetoothLocalGattService* service,
+ const device::BluetoothDevice* device,
const device::BluetoothLocalGattCharacteristic* characteristic) override;
void OnNotificationsStop(
- const device::BluetoothLocalGattService* service,
+ const device::BluetoothDevice* device,
const device::BluetoothLocalGattCharacteristic* characteristic) override;
// extensions::ExtensionRegistryObserver overrides:

Powered by Google App Engine
This is Rietveld 408576698