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

Unified Diff: device/bluetooth/bluetooth_device_mac.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_mac.h
diff --git a/device/bluetooth/bluetooth_device_mac.h b/device/bluetooth/bluetooth_device_mac.h
index 8f0ed08cd7cb2002e2cb13fab396f1cc8398f471..7dd1baedff6f529f43bfaeb81d0d8f30d4fb0c37 100644
--- a/device/bluetooth/bluetooth_device_mac.h
+++ b/device/bluetooth/bluetooth_device_mac.h
@@ -30,9 +30,6 @@ class BluetoothDeviceMac : public BluetoothDevice {
uint16 GetVendorID() const override;
uint16 GetProductID() const override;
uint16 GetDeviceID() const override;
- int GetRSSI() const override;
- int GetCurrentHostTransmitPower() const override;
- int GetMaximumHostTransmitPower() const override;
bool IsPaired() const override;
bool IsConnected() const override;
bool IsConnectable() const override;
@@ -41,6 +38,7 @@ class BluetoothDeviceMac : public BluetoothDevice {
bool ExpectingPinCode() const override;
bool ExpectingPasskey() const override;
bool ExpectingConfirmation() const override;
+ void GetConnectionInfo(const ConnectionInfoCallback& callback) override;
void Connect(PairingDelegate* pairing_delegate,
const base::Closure& callback,
const ConnectErrorCallback& error_callback) override;
@@ -63,8 +61,6 @@ class BluetoothDeviceMac : public BluetoothDevice {
void CreateGattConnection(
const GattConnectionCallback& callback,
const ConnectErrorCallback& error_callback) override;
- void StartConnectionMonitor(const base::Closure& callback,
- const ErrorCallback& error_callback) override;
// Returns the timestamp when the device was last seen during an inquiry.
// Returns nil if the device has never been seen during an inquiry.

Powered by Google App Engine
This is Rietveld 408576698