Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / modules / bluetooth / WebBluetoothGATTCharacteristic.h
blob3f66a247a1e4fdf6599d68acd32e2342d4bfd3ee
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"
11 namespace blink {
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)
21 , uuid(uuid)
25 const WebString characteristicInstanceID;
26 const WebString serviceInstanceID;
27 const WebString uuid;
28 // TODO(ortuno): Add 'properties' once CharacteristicProperties is implemented.
29 // https://crbug.com/483345
30 // const WebCharacteristicProperties properties;
31 const WebVector<uint8_t> value;
34 } // namespace blink
36 #endif // WebBluetoothGATTCharacteristic_h