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

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

Issue 2680783002: bluetooth: show better error messages for services, characteristics and descriptors (Closed)
Patch Set: Added comment and changed to enum class. Created 3 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: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
index c4aaabd9435bbdd1197e7893c019e1d64242794c..ca7efb124a359d6d9c2b0374056fd9fd6a095514 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
@@ -118,6 +118,7 @@ class BluetoothRemoteGATTCharacteristic final
const String& descriptorUUID = String());
void GetDescriptorsCallback(
+ const String& requestedDescriptorUUID,
const String& characteristicInstanceId,
mojom::blink::WebBluetoothGATTQueryQuantity,
ScriptPromiseResolver*,
@@ -125,6 +126,8 @@ class BluetoothRemoteGATTCharacteristic final
Optional<Vector<mojom::blink::WebBluetoothRemoteGATTDescriptorPtr>>
descriptors);
+ DOMException* createInvalidCharacteristicError();
+
mojom::blink::WebBluetoothRemoteGATTCharacteristicPtr m_characteristic;
Member<BluetoothRemoteGATTService> m_service;
bool m_stopped;

Powered by Google App Engine
This is Rietveld 408576698