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

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

Issue 1564953003: bluetooth: Remove BluetoothDevice.paired (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 "modules/bluetooth/BluetoothAdvertisingData.h" 9 #include "modules/bluetooth/BluetoothAdvertisingData.h"
10 #include "platform/heap/Heap.h" 10 #include "platform/heap/Heap.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // IDL exposed interface: 44 // IDL exposed interface:
45 String id() { return m_webDevice->id; } 45 String id() { return m_webDevice->id; }
46 String name() { return m_webDevice->name; } 46 String name() { return m_webDevice->name; }
47 BluetoothAdvertisingData* adData() { return m_adData; } 47 BluetoothAdvertisingData* adData() { return m_adData; }
48 unsigned deviceClass(bool& isNull); 48 unsigned deviceClass(bool& isNull);
49 String vendorIDSource(); 49 String vendorIDSource();
50 unsigned vendorID(bool& isNull); 50 unsigned vendorID(bool& isNull);
51 unsigned productID(bool& isNull); 51 unsigned productID(bool& isNull);
52 unsigned productVersion(bool& isNull); 52 unsigned productVersion(bool& isNull);
53 bool paired();
54 Vector<String> uuids(); 53 Vector<String> uuids();
55 54
56 private: 55 private:
57 OwnPtr<WebBluetoothDevice> m_webDevice; 56 OwnPtr<WebBluetoothDevice> m_webDevice;
58 Member<BluetoothAdvertisingData> m_adData; 57 Member<BluetoothAdvertisingData> m_adData;
59 }; 58 };
60 59
61 } // namespace blink 60 } // namespace blink
62 61
63 #endif // BluetoothDevice_h 62 #endif // BluetoothDevice_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698