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

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

Issue 1861013005: bluetooth: Move GetCharacteristic(s) over to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-read-value
Patch Set: Merge Created 4 years, 8 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/BluetoothRemoteGATTService.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
index 10553a1c7d99c51c3850b12a4ce586d0da7a9051..8f4c06a2270541b19ec6ad059ada0ee78adbc9dc 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
@@ -45,11 +45,11 @@ public:
String uuid() { return m_webService->uuid; }
bool isPrimary() { return m_webService->isPrimary; }
ScriptPromise getCharacteristic(ScriptState*, const StringOrUnsignedLong& characteristic, ExceptionState&);
- ScriptPromise getCharacteristics(ScriptState*, ExceptionState&);
ScriptPromise getCharacteristics(ScriptState*, const StringOrUnsignedLong& characteristic, ExceptionState&);
+ ScriptPromise getCharacteristics(ScriptState*, ExceptionState&);
private:
- ScriptPromise getCharacteristicsImpl(ScriptState*, String characteristicUUID);
+ ScriptPromise getCharacteristicsImpl(ScriptState*, bool singleCharacteristic, String characteristicUUID = String());
OwnPtr<WebBluetoothRemoteGATTService> m_webService;
};

Powered by Google App Engine
This is Rietveld 408576698