| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebBluetoothRemoteGATTCharacteristicInit_h | 5 #ifndef WebBluetoothRemoteGATTCharacteristicInit_h |
| 6 #define WebBluetoothRemoteGATTCharacteristicInit_h | 6 #define WebBluetoothRemoteGATTCharacteristicInit_h |
| 7 | 7 |
| 8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/WebVector.h" | 9 #include "public/platform/WebVector.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 // Contains members corresponding to BluetoothRemoteGATTCharacteristic attribute
s as | 13 // Contains members corresponding to BluetoothRemoteGATTCharacteristic |
| 14 // specified in the IDL. | 14 // attributes as specified in the IDL. |
| 15 struct WebBluetoothRemoteGATTCharacteristicInit { | 15 struct WebBluetoothRemoteGATTCharacteristicInit { |
| 16 WebBluetoothRemoteGATTCharacteristicInit( | 16 WebBluetoothRemoteGATTCharacteristicInit( |
| 17 const WebString& serviceInstanceID, | 17 const WebString& serviceInstanceID, |
| 18 const WebString& characteristicInstanceID, | 18 const WebString& characteristicInstanceID, |
| 19 const WebString& uuid, | 19 const WebString& uuid, |
| 20 uint32_t characteristicProperties) | 20 uint32_t characteristicProperties) |
| 21 : characteristicInstanceID(characteristicInstanceID), | 21 : characteristicInstanceID(characteristicInstanceID), |
| 22 serviceInstanceID(serviceInstanceID), | 22 serviceInstanceID(serviceInstanceID), |
| 23 uuid(uuid), | 23 uuid(uuid), |
| 24 characteristicProperties(characteristicProperties) {} | 24 characteristicProperties(characteristicProperties) {} |
| 25 | 25 |
| 26 const WebString characteristicInstanceID; | 26 const WebString characteristicInstanceID; |
| 27 const WebString serviceInstanceID; | 27 const WebString serviceInstanceID; |
| 28 const WebString uuid; | 28 const WebString uuid; |
| 29 const uint32_t characteristicProperties; | 29 const uint32_t characteristicProperties; |
| 30 const WebVector<uint8_t> value; | 30 const WebVector<uint8_t> value; |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 } // namespace blink | 33 } // namespace blink |
| 34 | 34 |
| 35 #endif // WebBluetoothRemoteGATTCharacteristicInit_h | 35 #endif // WebBluetoothRemoteGATTCharacteristicInit_h |
| OLD | NEW |