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

Unified Diff: device/bluetooth/bluetooth_device_win.cc

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.cc
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc
index a9f690ae0cabf1b4860dc21e86aed9d7b2af94e0..5a5c8cd2dd1415388ae5c12deb068bc34ac0b3d4 100644
--- a/device/bluetooth/bluetooth_device_win.cc
+++ b/device/bluetooth/bluetooth_device_win.cc
@@ -168,21 +168,6 @@ uint16 BluetoothDeviceWin::GetDeviceID() const {
return 0;
}
-int BluetoothDeviceWin::GetRSSI() const {
- NOTIMPLEMENTED();
- return kUnknownPower;
-}
-
-int BluetoothDeviceWin::GetCurrentHostTransmitPower() const {
- NOTIMPLEMENTED();
- return kUnknownPower;
-}
-
-int BluetoothDeviceWin::GetMaximumHostTransmitPower() const {
- NOTIMPLEMENTED();
- return kUnknownPower;
-}
-
bool BluetoothDeviceWin::IsPaired() const {
return paired_;
}
@@ -218,6 +203,11 @@ bool BluetoothDeviceWin::ExpectingConfirmation() const {
return false;
}
+void GetConnectionInfo(const ConnectionInfoCallback& callback) {
+ NOTIMPLEMENTED();
+ callback.Run(ConnectionInfo());
+}
+
void BluetoothDeviceWin::Connect(
PairingDelegate* pairing_delegate,
const base::Closure& callback,
@@ -279,12 +269,6 @@ void BluetoothDeviceWin::CreateGattConnection(
error_callback.Run(ERROR_UNSUPPORTED_DEVICE);
}
-void BluetoothDeviceWin::StartConnectionMonitor(
- const base::Closure& callback,
- const ErrorCallback& error_callback) {
- NOTIMPLEMENTED();
-}
-
const BluetoothServiceRecordWin* BluetoothDeviceWin::GetServiceRecord(
const device::BluetoothUUID& uuid) const {
for (ServiceRecordList::const_iterator iter = service_record_list_.begin();

Powered by Google App Engine
This is Rietveld 408576698