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

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

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 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
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 <memory>
8 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "modules/bluetooth/BluetoothDevice.h" 10 #include "modules/bluetooth/BluetoothDevice.h"
11 #include "platform/bindings/ScriptWrappable.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h" 13 #include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class RequestDeviceOptions; 17 class RequestDeviceOptions;
18 class ScriptPromise; 18 class ScriptPromise;
19 class ScriptState; 19 class ScriptState;
20 20
21 class Bluetooth final : public GarbageCollectedFinalized<Bluetooth>, 21 class Bluetooth final : public GarbageCollectedFinalized<Bluetooth>,
22 public ScriptWrappable { 22 public ScriptWrappable {
23 DEFINE_WRAPPERTYPEINFO(); 23 DEFINE_WRAPPERTYPEINFO();
(...skipping 26 matching lines...) Expand all
50 // Ensures only one BluetoothDevice instance represents each 50 // Ensures only one BluetoothDevice instance represents each
51 // Bluetooth device inside a single global object. 51 // Bluetooth device inside a single global object.
52 HeapHashMap<String, Member<BluetoothDevice>> device_instance_map_; 52 HeapHashMap<String, Member<BluetoothDevice>> device_instance_map_;
53 53
54 mojom::blink::WebBluetoothServicePtr service_; 54 mojom::blink::WebBluetoothServicePtr service_;
55 }; 55 };
56 56
57 } // namespace blink 57 } // namespace blink
58 58
59 #endif // Bluetooth_h 59 #endif // Bluetooth_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698