1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebBluetoothGATTCharacteristic_h
6 #define WebBluetoothGATTCharacteristic_h
8 #include "public/platform/WebString.h"
9 #include "public/platform/WebVector.h"
13 // Contains members corresponding to BluetoothGATTCharacteristic attributes as
14 // specified in the IDL.
15 struct WebBluetoothGATTCharacteristic
{
16 WebBluetoothGATTCharacteristic(const WebString
& characteristicInstanceID
,
17 const WebString
& serviceInstanceID
,
18 const WebString
& uuid
)
19 : characteristicInstanceID(characteristicInstanceID
)
20 , serviceInstanceID(serviceInstanceID
)
25 const WebString characteristicInstanceID
;
26 const WebString serviceInstanceID
;
28 // TODO(ortuno): Add 'properties' once CharacteristicProperties is implemented.
29 // https://crbug.com/483345
30 // const WebCharacteristicProperties properties;
31 const WebVector
<uint8_t> value
;
36 #endif // WebBluetoothGATTCharacteristic_h