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 Bluetooth_h | 5 #ifndef Bluetooth_h |
6 #define Bluetooth_h | 6 #define Bluetooth_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 public: | 22 public: |
23 static Bluetooth* create() { return new Bluetooth(); } | 23 static Bluetooth* create() { return new Bluetooth(); } |
24 | 24 |
25 // BluetoothDiscovery interface | 25 // BluetoothDiscovery interface |
26 ScriptPromise requestDevice(ScriptState*, | 26 ScriptPromise requestDevice(ScriptState*, |
27 const RequestDeviceOptions&, | 27 const RequestDeviceOptions&, |
28 ExceptionState&); | 28 ExceptionState&); |
29 | 29 |
30 DEFINE_INLINE_TRACE() {} | 30 DEFINE_INLINE_TRACE() {} |
31 | |
32 private: | |
33 bool promotedOriginTrial = false; | |
34 }; | 31 }; |
35 | 32 |
36 } // namespace blink | 33 } // namespace blink |
37 | 34 |
38 #endif // Bluetooth_h | 35 #endif // Bluetooth_h |
OLD | NEW |