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

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

Issue 1159523002: bluetooth: Browser side partial implementation of getPrimaryService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added namespace comment and new line Created 5 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
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 46a08e2c9f30f21f3f21073734deaf89084caf8b..4264efdbd62e181782637f58de3f8342d34026af 100644
--- a/content/child/bluetooth/web_bluetooth_impl.cc
+++ b/content/child/bluetooth/web_bluetooth_impl.cc
@@ -26,6 +26,14 @@ void WebBluetoothImpl::connectGATT(const blink::WebString& device_instance_id,
GetDispatcher()->connectGATT(device_instance_id, callbacks);
}
+void WebBluetoothImpl::getPrimaryService(
+ const blink::WebString& device_instance_id,
+ const blink::WebString& service_uuid,
+ blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) {
+ GetDispatcher()->getPrimaryService(device_instance_id, service_uuid,
+ callbacks);
+}
+
BluetoothDispatcher* WebBluetoothImpl::GetDispatcher() {
return BluetoothDispatcher::GetOrCreateThreadSpecificInstance(
thread_safe_sender_.get());

Powered by Google App Engine
This is Rietveld 408576698