OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef WebBluetoothRemoteGATTService_h | |
6 #define WebBluetoothRemoteGATTService_h | |
7 | |
8 #include "public/platform/WebString.h" | |
9 | |
10 namespace blink { | |
11 | |
12 struct WebBluetoothRemoteGATTService { | |
13 WebBluetoothRemoteGATTService(const WebString& serviceInstanceID, | |
14 const WebString& uuid, | |
15 bool isPrimary, | |
16 const WebString& deviceInstanceID) | |
17 : serviceInstanceID(serviceInstanceID), | |
18 uuid(uuid), | |
19 isPrimary(isPrimary), | |
20 deviceInstanceID(deviceInstanceID) {} | |
21 | |
22 // Members corresponding to BluetoothRemoteGATTService attributes as | |
23 // specified in the IDL. | |
24 const WebString serviceInstanceID; | |
25 const WebString uuid; | |
26 const bool isPrimary; | |
27 const WebString deviceInstanceID; | |
28 }; | |
29 | |
30 } // namespace blink | |
31 | |
32 #endif // WebBluetoothRemoteGATTService_h | |
OLD | NEW |