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

Side by Side Diff: Source/modules/bluetooth/BluetoothDevice.h

Issue 1059793002: bluetooth: Move Bluetooth-related Blink API headers into their own directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 BluetoothDevice_h 5 #ifndef BluetoothDevice_h
6 #define BluetoothDevice_h 6 #define BluetoothDevice_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Heap.h" 9 #include "platform/heap/Heap.h"
10 #include "public/platform/WebBluetoothDevice.h" 10 #include "public/platform/modules/bluetooth/WebBluetoothDevice.h"
11 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class ScriptPromiseResolver; 15 class ScriptPromiseResolver;
16 16
17 // BluetoothDevice represents a physical bluetooth device in the DOM. See IDL. 17 // BluetoothDevice represents a physical bluetooth device in the DOM. See IDL.
18 // 18 //
19 // Callbacks providing WebBluetoothDevice objects are handled by 19 // Callbacks providing WebBluetoothDevice objects are handled by
20 // CallbackPromiseAdapter templatized with this class. See this class's 20 // CallbackPromiseAdapter templatized with this class. See this class's
(...skipping 28 matching lines...) Expand all
49 bool connected(bool& isNull); 49 bool connected(bool& isNull);
50 Vector<String> uuids(bool& isNull); 50 Vector<String> uuids(bool& isNull);
51 51
52 private: 52 private:
53 WebBluetoothDevice m_webDevice; 53 WebBluetoothDevice m_webDevice;
54 }; 54 };
55 55
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif // BluetoothDevice_h 58 #endif // BluetoothDevice_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/bluetooth/BluetoothDiscovery.cpp » ('j') | public/platform/WebBluetooth.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698