Index: device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
diff --git a/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h b/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
index 9fabee489170db9ed12a97df1c747e49a1a9200e..98316c77e7f6a16d3b450c651bc2bc1b4ff00464 100644 |
--- a/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
+++ b/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h |
@@ -46,6 +46,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicMac |
const std::string& identifier) const override; |
void StartNotifySession(const NotifySessionCallback& callback, |
const ErrorCallback& error_callback) override; |
+ void StopNotifySession(BluetoothGattNotifySession* session, |
+ const base::Closure& callback) override; |
void ReadRemoteCharacteristic(const ValueCallback& callback, |
const ErrorCallback& error_callback) override; |
void WriteRemoteCharacteristic(const std::vector<uint8_t>& new_value, |
@@ -54,6 +56,15 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattCharacteristicMac |
DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattCharacteristicMac); |
+ protected: |
+ void SubscribeToNotifications(BluetoothRemoteGattDescriptor* ccc_descriptor, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback) override; |
+ void UnsubscribeFromNotifications( |
+ BluetoothRemoteGattDescriptor* ccc_descriptor, |
+ const base::Closure& callback, |
+ const ErrorCallback& error_callback) override; |
+ |
private: |
friend class BluetoothRemoteGattServiceMac; |
friend class BluetoothTestMac; |