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

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

Issue 1217983004: bluetooth: browser-side implementation of writeValue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Patch Set: Created 5 years, 5 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.h
diff --git a/content/child/bluetooth/web_bluetooth_impl.h b/content/child/bluetooth/web_bluetooth_impl.h
index 0a78df2d13cc4ccc46872dc1c06cafb8756e29a2..22772d1f6f4527211c2231802273c4a384fe4304 100644
--- a/content/child/bluetooth/web_bluetooth_impl.h
+++ b/content/child/bluetooth/web_bluetooth_impl.h
@@ -41,6 +41,10 @@ class CONTENT_EXPORT WebBluetoothImpl
blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override;
void readValue(const blink::WebString& characteristic_instance_id,
blink::WebBluetoothReadValueCallbacks* callbacks) override;
+ void writeValue(const blink::WebString& characteristic_instance_id,
+ const unsigned char* bytes,
+ unsigned byteLength,
+ blink::WebBluetoothWriteValueCallbacks*) override;
private:
BluetoothDispatcher* GetDispatcher();

Powered by Google App Engine
This is Rietveld 408576698