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

Unified Diff: device/bluetooth/bluetooth_device_win.h

Issue 735893002: Add GetConnectionInfo function for BluetoothDevice, replacing the existing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile errors on other platforms Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.mm ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_win.h
diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_win.h
index 6394cfab685a0c72ab5556b0ab537e3a3e42803f..ee36d37d4a63f60e60fa2091f4d4a2892a213162 100644
--- a/device/bluetooth/bluetooth_device_win.h
+++ b/device/bluetooth/bluetooth_device_win.h
@@ -37,9 +37,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
virtual uint16 GetVendorID() const override;
virtual uint16 GetProductID() const override;
virtual uint16 GetDeviceID() const override;
- virtual int GetRSSI() const override;
- virtual int GetCurrentHostTransmitPower() const override;
- virtual int GetMaximumHostTransmitPower() const override;
virtual bool IsPaired() const override;
virtual bool IsConnected() const override;
virtual bool IsConnectable() const override;
@@ -48,6 +45,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
virtual bool ExpectingPinCode() const override;
virtual bool ExpectingPasskey() const override;
virtual bool ExpectingConfirmation() const override;
+ virtual void GetConnectionInfo(
+ const ConnectionInfoCallback& callback) override;
virtual void Connect(
PairingDelegate* pairing_delegate,
const base::Closure& callback,
@@ -72,9 +71,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
virtual void CreateGattConnection(
const GattConnectionCallback& callback,
const ConnectErrorCallback& error_callback) override;
- virtual void StartConnectionMonitor(
- const base::Closure& callback,
- const ErrorCallback& error_callback) override;
// Used by BluetoothProfileWin to retrieve the service record for the given
// |uuid|.
« no previous file with comments | « device/bluetooth/bluetooth_device_mac.mm ('k') | device/bluetooth/bluetooth_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698