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

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

Issue 2474863004: bluetooth: Add characteristics to the device's attribute instance map (Closed)
Patch Set: clean up Created 4 years, 1 month 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 6b9df6ddb395bdd2f698fd4e030bf23b935256f9..1dcdad97f09bfbb68f4c50428628475b6cc37f71 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h
@@ -47,10 +47,8 @@ class BluetoothRemoteGATTCharacteristic final
std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit>,
BluetoothRemoteGATTService*);
- // Interface required by CallbackPromiseAdapter.
- using WebType = std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit>;
- static BluetoothRemoteGATTCharacteristic* take(
- ScriptPromiseResolver*,
+ static BluetoothRemoteGATTCharacteristic* create(
+ ExecutionContext*,
std::unique_ptr<WebBluetoothRemoteGATTCharacteristicInit>,
BluetoothRemoteGATTService*);

Powered by Google App Engine
This is Rietveld 408576698