| 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 13 matching lines...) Expand all Loading... |
| 24 static Bluetooth* create() | 24 static Bluetooth* create() |
| 25 { | 25 { |
| 26 return new Bluetooth(); | 26 return new Bluetooth(); |
| 27 } | 27 } |
| 28 | 28 |
| 29 // BluetoothDiscovery interface | 29 // BluetoothDiscovery interface |
| 30 ScriptPromise requestDevice(ScriptState*, const RequestDeviceOptions&, Excep
tionState&); | 30 ScriptPromise requestDevice(ScriptState*, const RequestDeviceOptions&, Excep
tionState&); |
| 31 | 31 |
| 32 DEFINE_INLINE_TRACE() { } | 32 DEFINE_INLINE_TRACE() { } |
| 33 | 33 |
| 34 private: |
| 35 bool promotedOriginTrial = false; |
| 34 }; | 36 }; |
| 35 | 37 |
| 36 } // namespace blink | 38 } // namespace blink |
| 37 | 39 |
| 38 #endif // Bluetooth_h | 40 #endif // Bluetooth_h |
| OLD | NEW |