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..7dd5b0e9861a74daf656aa17b980478858be756f |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h |
| @@ -0,0 +1,27 @@ |
| +// 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& descriptorInstanceID, |
| + const WebString& uuid) |
| + : descriptorInstanceID(descriptorInstanceID), uuid(uuid) {} |
| + |
| + const WebString descriptorInstanceID; |
| + const WebString uuid; |
| + const WebVector<uint8_t> value; |
|
ortuno
2016/12/02 06:14:51
I don't think we need value.
dougt
2016/12/02 18:31:29
Done.
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebBluetoothRemoteGATTDescriptorInit_h |