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

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: Created 6 years, 1 month 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
Index: device/bluetooth/bluetooth_device_win.h
diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_win.h
index afa54503b8da2f0dc13de86c88666a28ca601bd7..aebc5dc1470413eb6af139dbb2789ec32499ac32 100644
--- a/device/bluetooth/bluetooth_device_win.h
+++ b/device/bluetooth/bluetooth_device_win.h
@@ -36,9 +36,6 @@ class 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;
@@ -47,6 +44,8 @@ class 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,
@@ -71,9 +70,6 @@ class 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|.

Powered by Google App Engine
This is Rietveld 408576698