Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h |
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ba25b2c0b464f2ba88cbabea2e513fc3302fe50d |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebBluetoothRemoteGATTDescriptorInit_h |
+#define WebBluetoothRemoteGATTDescriptorInit_h |
+ |
+#include "public/platform/WebString.h" |
+#include "public/platform/WebVector.h" |
+ |
+namespace blink { |
+ |
+// Contains members corresponding to BluetoothGATTDescriptor |
+// attributes as specified in the IDL. |
+struct WebBluetoothRemoteGATTDescriptorInit { |
+ WebBluetoothRemoteGATTDescriptorInit( |
+ const WebString& characteristicInstanceID, |
+ const WebString& descriptorInstanceID, |
+ const WebString& uuid) |
+ : characteristicInstanceID(characteristicInstanceID), // dougt?? |
ortuno
2016/11/22 03:02:02
You forgot to remove :p
dougt
2016/11/29 22:50:48
Done.
|
+ descriptorInstanceID(descriptorInstanceID), |
+ uuid(uuid) {} |
+ |
+ const WebString characteristicInstanceID; |
+ const WebString descriptorInstanceID; |
+ const WebString uuid; |
+ const WebVector<uint8_t> value; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebBluetoothRemoteGATTDescriptorInit_h |