| 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 BluetoothDevice_h | 5 #ifndef BluetoothDevice_h |
| 6 #define BluetoothDevice_h | 6 #define BluetoothDevice_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Heap.h" | 9 #include "platform/heap/Heap.h" |
| 10 #include "public/platform/WebBluetoothDevice.h" | 10 #include "public/platform/modules/bluetooth/WebBluetoothDevice.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ScriptPromiseResolver; | 15 class ScriptPromiseResolver; |
| 16 | 16 |
| 17 // BluetoothDevice represents a physical bluetooth device in the DOM. See IDL. | 17 // BluetoothDevice represents a physical bluetooth device in the DOM. See IDL. |
| 18 // | 18 // |
| 19 // Callbacks providing WebBluetoothDevice objects are handled by | 19 // Callbacks providing WebBluetoothDevice objects are handled by |
| 20 // CallbackPromiseAdapter templatized with this class. See this class's | 20 // CallbackPromiseAdapter templatized with this class. See this class's |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 bool connected(bool& isNull); | 49 bool connected(bool& isNull); |
| 50 Vector<String> uuids(bool& isNull); | 50 Vector<String> uuids(bool& isNull); |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 WebBluetoothDevice m_webDevice; | 53 WebBluetoothDevice m_webDevice; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace blink | 56 } // namespace blink |
| 57 | 57 |
| 58 #endif // BluetoothDevice_h | 58 #endif // BluetoothDevice_h |
| OLD | NEW |