OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 WebBluetoothDeviceInit_h | |
6 #define WebBluetoothDeviceInit_h | |
7 | |
8 #include "public/platform/WebString.h" | |
9 #include "public/platform/WebVector.h" | |
10 | |
11 namespace blink { | |
12 | |
13 // Information provided by the platform to initialize BluetoothDevice objects | |
14 // with attributes as specified in BluetoothDevice.idl. | |
15 struct WebBluetoothDeviceInit { | |
16 WebBluetoothDeviceInit(const WebString& id, const WebString& name) | |
17 : id(id), name(name) {} | |
18 | |
19 // Members corresponding to BluetoothDevice attributes as specified in IDL. | |
20 const WebString id; | |
21 const WebString name; | |
22 }; | |
23 | |
24 } // namespace blink | |
25 | |
26 #endif // WebBluetoothDeviceInit_h | |
OLD | NEW |