Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: third_party/WebKit/Source/modules/bluetooth/Bluetooth.h

Issue 2437943002: Ship WebBluetooth out of origin trial (Closed)
Patch Set: address more comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698