Chromium Code Reviews| 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..e89425818174d691cce18ece17081b45c1ec15ae |
| --- /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), |
| + descriptorInstanceID(descriptorInstanceID), |
| + uuid(uuid) {} |
| + |
| + const WebString characteristicInstanceID; |
|
ortuno
2016/11/21 03:34:09
Remove this attribute. I think we intended for it
dougt
2016/11/22 01:47:17
Acknowledged.
|
| + const WebString descriptorInstanceID; |
| + const WebString uuid; |
| + const WebVector<uint8_t> value; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebBluetoothRemoteGATTDescriptorInit_h |