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

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

Issue 2215073002: bluetooth: Suggest Origin Trial in console. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698