Index: content/child/bluetooth/web_bluetooth_impl.cc |
diff --git a/content/child/bluetooth/web_bluetooth_impl.cc b/content/child/bluetooth/web_bluetooth_impl.cc |
index fd85a7dfd8892166513cb247150b158684bae38e..1ed0b81164baa3d3de0bf645ad6f1ec5545556bb 100644 |
--- a/content/child/bluetooth/web_bluetooth_impl.cc |
+++ b/content/child/bluetooth/web_bluetooth_impl.cc |
@@ -49,6 +49,15 @@ void WebBluetoothImpl::readValue( |
GetDispatcher()->readValue(characteristic_instance_id, callbacks); |
} |
+void WebBluetoothImpl::writeValue( |
+ const blink::WebString& characteristic_instance_id, |
+ const unsigned char* bytes, |
+ unsigned byteLength, |
+ blink::WebBluetoothWriteValueCallbacks* callbacks) { |
+ GetDispatcher()->writeValue(characteristic_instance_id, bytes, byteLength, |
+ callbacks); |
+} |
+ |
BluetoothDispatcher* WebBluetoothImpl::GetDispatcher() { |
return BluetoothDispatcher::GetOrCreateThreadSpecificInstance( |
thread_safe_sender_.get()); |