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

Side by Side Diff: device/bluetooth/bluetooth_device_win.h

Issue 246603008: Expose device RSSI and Tx power via the chrome.bluetooth API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implemented as a property of the Device object Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 virtual void AddObserver( 33 virtual void AddObserver(
34 device::BluetoothDevice::Observer* observer) OVERRIDE; 34 device::BluetoothDevice::Observer* observer) OVERRIDE;
35 virtual void RemoveObserver( 35 virtual void RemoveObserver(
36 device::BluetoothDevice::Observer* observer) OVERRIDE; 36 device::BluetoothDevice::Observer* observer) OVERRIDE;
37 virtual uint32 GetBluetoothClass() const OVERRIDE; 37 virtual uint32 GetBluetoothClass() const OVERRIDE;
38 virtual std::string GetAddress() const OVERRIDE; 38 virtual std::string GetAddress() const OVERRIDE;
39 virtual VendorIDSource GetVendorIDSource() const OVERRIDE; 39 virtual VendorIDSource GetVendorIDSource() const OVERRIDE;
40 virtual uint16 GetVendorID() const OVERRIDE; 40 virtual uint16 GetVendorID() const OVERRIDE;
41 virtual uint16 GetProductID() const OVERRIDE; 41 virtual uint16 GetProductID() const OVERRIDE;
42 virtual uint16 GetDeviceID() const OVERRIDE; 42 virtual uint16 GetDeviceID() const OVERRIDE;
43 virtual int GetRSSI() const OVERRIDE;
44 virtual int GetCurrentHostTransmitPower() const OVERRIDE;
45 virtual int GetMaximumHostTransmitPower() const OVERRIDE;
43 virtual bool IsPaired() const OVERRIDE; 46 virtual bool IsPaired() const OVERRIDE;
44 virtual bool IsConnected() const OVERRIDE; 47 virtual bool IsConnected() const OVERRIDE;
45 virtual bool IsConnectable() const OVERRIDE; 48 virtual bool IsConnectable() const OVERRIDE;
46 virtual bool IsConnecting() const OVERRIDE; 49 virtual bool IsConnecting() const OVERRIDE;
47 virtual UUIDList GetUUIDs() const OVERRIDE; 50 virtual UUIDList GetUUIDs() const OVERRIDE;
48 virtual bool ExpectingPinCode() const OVERRIDE; 51 virtual bool ExpectingPinCode() const OVERRIDE;
49 virtual bool ExpectingPasskey() const OVERRIDE; 52 virtual bool ExpectingPasskey() const OVERRIDE;
50 virtual bool ExpectingConfirmation() const OVERRIDE; 53 virtual bool ExpectingConfirmation() const OVERRIDE;
51 virtual void Connect( 54 virtual void Connect(
52 PairingDelegate* pairing_delegate, 55 PairingDelegate* pairing_delegate,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // The service records retrieved from SDP. 125 // The service records retrieved from SDP.
123 typedef ScopedVector<BluetoothServiceRecord> ServiceRecordList; 126 typedef ScopedVector<BluetoothServiceRecord> ServiceRecordList;
124 ServiceRecordList service_record_list_; 127 ServiceRecordList service_record_list_;
125 128
126 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin); 129 DISALLOW_COPY_AND_ASSIGN(BluetoothDeviceWin);
127 }; 130 };
128 131
129 } // namespace device 132 } // namespace device
130 133
131 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_ 134 #endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698