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