Index: content/renderer/bluetooth/web_bluetooth_impl.cc |
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.cc b/content/renderer/bluetooth/web_bluetooth_impl.cc |
index 8c6e7e3c971456d0aa57b43dffaec6074baeca4a..ea75e9f965085cf9ec51f3bc0fb6b3241d066de6 100644 |
--- a/content/renderer/bluetooth/web_bluetooth_impl.cc |
+++ b/content/renderer/bluetooth/web_bluetooth_impl.cc |
@@ -61,6 +61,29 @@ void WebBluetoothImpl::writeValue( |
GetDispatcher()->writeValue(characteristic_instance_id, value, callbacks); |
} |
+void WebBluetoothImpl::startNotifications( |
+ const blink::WebString& characteristic_instance_id, |
+ blink::WebBluetoothGATTCharacteristic* characteristic, |
+ blink::WebBluetoothNotificationsCallbacks* callbacks) { |
+ GetDispatcher()->startNotifications(characteristic_instance_id, |
+ characteristic, callbacks); |
+} |
+ |
+void WebBluetoothImpl::stopNotifications( |
+ const blink::WebString& characteristic_instance_id, |
+ blink::WebBluetoothGATTCharacteristic* characteristic, |
+ blink::WebBluetoothNotificationsCallbacks* callbacks) { |
+ GetDispatcher()->stopNotifications(characteristic_instance_id, characteristic, |
+ callbacks); |
+} |
+ |
+void WebBluetoothImpl::characteristicObjectRemoved( |
+ const blink::WebString& characteristic_instance_id, |
+ blink::WebBluetoothGATTCharacteristic* characteristic) { |
+ GetDispatcher()->characteristicObjectRemoved(characteristic_instance_id, |
+ characteristic); |
+} |
+ |
BluetoothDispatcher* WebBluetoothImpl::GetDispatcher() { |
return BluetoothDispatcher::GetOrCreateThreadSpecificInstance( |
thread_safe_sender_.get()); |