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

Unified Diff: Source/modules/bluetooth/BluetoothGATTCharacteristic.h

Issue 1147243004: bluetooth: readValue Blink implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bluetooth-read-value-interface
Patch Set: Fix Web Exposed Layout Test Created 5 years, 6 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: Source/modules/bluetooth/BluetoothGATTCharacteristic.h
diff --git a/Source/modules/bluetooth/BluetoothGATTCharacteristic.h b/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
index b21ffbf565b586fda7209b3473649024bfd318e3..4c61369e551401ca590abaab24624aeaf9592800 100644
--- a/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
+++ b/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
@@ -12,7 +12,9 @@
namespace blink {
+class ScriptPromise;
class ScriptPromiseResolver;
+class ScriptState;
// BluetoothGATTCharacteristic represents a GATT Characteristic, which is a
// basic data element that provides further information about a peripheral's
@@ -39,6 +41,7 @@ public:
// IDL exposed interface:
String uuid() { return m_webCharacteristic->uuid; }
+ ScriptPromise readValue(ScriptState*);
private:
OwnPtr<WebBluetoothGATTCharacteristic> m_webCharacteristic;
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698