OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 WebBluetoothDevice_h | 5 #ifndef WebBluetoothDevice_h |
6 #define WebBluetoothDevice_h | 6 #define WebBluetoothDevice_h |
7 | 7 |
8 #include "WebString.h" | 8 #include "public/platform/WebString.h" |
9 #include "WebVector.h" | 9 #include "public/platform/WebVector.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 // Information describing a Bluetooth device provided by the platform. | 13 // Information describing a Bluetooth device provided by the platform. |
14 struct WebBluetoothDevice { | 14 struct WebBluetoothDevice { |
15 enum class VendorIDSource { | 15 enum class VendorIDSource { |
16 Unknown, | 16 Unknown, |
17 Bluetooth, | 17 Bluetooth, |
18 USB | 18 USB |
19 }; | 19 }; |
(...skipping 30 matching lines...) Expand all Loading... |
50 const uint16_t productID; | 50 const uint16_t productID; |
51 const uint16_t productVersion; | 51 const uint16_t productVersion; |
52 const bool paired; | 52 const bool paired; |
53 const bool connected; | 53 const bool connected; |
54 const WebVector<WebString> uuids; | 54 const WebVector<WebString> uuids; |
55 }; | 55 }; |
56 | 56 |
57 } // namespace blink | 57 } // namespace blink |
58 | 58 |
59 #endif // WebBluetoothDevice_h | 59 #endif // WebBluetoothDevice_h |
OLD | NEW |