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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h

Issue 1973703002: Implement //device/bt changes for notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notifications_dbus
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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2862001530c85f28bf29c9189ead96da1b470516..593b733f26d98ef523b70ea11f860ae6e3828fc1 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
@@ -323,14 +323,12 @@ class BluetoothLowEnergyEventRouter
int offset,
const base::Closure& callback,
const Delegate::ErrorCallback& error_callback) override;
-
void OnDescriptorReadRequest(
const device::BluetoothLocalGattService* service,
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::BluetoothLocalGattDescriptor* descriptor,
@@ -338,6 +336,12 @@ class BluetoothLowEnergyEventRouter
int offset,
const base::Closure& callback,
const Delegate::ErrorCallback& error_callback) override;
+ void OnNotificationsStart(
+ const device::BluetoothLocalGattService* service,
+ const device::BluetoothLocalGattCharacteristic* characteristic) override;
+ void OnNotificationsStop(
+ const device::BluetoothLocalGattService* service,
+ const device::BluetoothLocalGattCharacteristic* characteristic) override;
// extensions::ExtensionRegistryObserver overrides:
void OnExtensionUnloaded(
« no previous file with comments | « no previous file | chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698