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

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

Issue 1573183002: bluetooth: Update BluetoothCharacteristic.value on readValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use anonymous namespace Created 4 years, 11 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: third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
index 0deda656eed5e05fba516dce430d64b059faa13e..8e89ce0405ec3537f915c5586d780efbb0ea8e06 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
@@ -47,8 +47,11 @@ public:
using WebType = OwnPtr<WebBluetoothGATTCharacteristicInit>;
static BluetoothGATTCharacteristic* take(ScriptPromiseResolver*, PassOwnPtr<WebBluetoothGATTCharacteristicInit>);
+ // Save value.
+ void setValue(const PassRefPtr<DOMArrayBuffer>&);
+
// WebBluetoothGATTCharacteristic interface:
- void dispatchCharacteristicValueChanged(const WebVector<uint8_t>& value) override;
+ void dispatchCharacteristicValueChanged(const WebVector<uint8_t>&) override;
// ActiveDOMObject interface.
void stop() override;

Powered by Google App Engine
This is Rietveld 408576698