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

Unified Diff: content/renderer/bluetooth/web_bluetooth_impl.cc

Issue 1723723002: bluetooth: Implement Service.getCharacteristics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Clean up Created 4 years, 10 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: 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 d1384927c0539dc3afa875f73e1c64c0267258d4..caf2d9605b3c0c6c81a7107407bd9c7d6684f4f3 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.cc
+++ b/content/renderer/bluetooth/web_bluetooth_impl.cc
@@ -53,6 +53,14 @@ void WebBluetoothImpl::getCharacteristic(
characteristic_uuid, callbacks);
}
+void WebBluetoothImpl::getCharacteristics(
+ const blink::WebString& service_instance_id,
+ const blink::WebString& characteristic_uuid,
+ blink::WebBluetoothGetCharacteristicsCallbacks* callbacks) {
+ GetDispatcher()->getCharacteristics(frame_routing_id_, service_instance_id,
+ characteristic_uuid, callbacks);
+}
+
void WebBluetoothImpl::readValue(
const blink::WebString& characteristic_instance_id,
blink::WebBluetoothReadValueCallbacks* callbacks) {

Powered by Google App Engine
This is Rietveld 408576698