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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2751223002: bluetooth: Stop support of reconnecting devices not supporting pairing (Closed)
Patch Set: fix an unittest failure Created 3 years, 9 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
Index: device/bluetooth/bluetooth_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index e0545fa27677ab9cf877fd46184a886deddb402f..977ee8b1a4b385489e0735be7f91cf8eef315d37 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -259,10 +259,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
bool IsPairable() const;
// Indicates whether the device is paired with the adapter.
- // On Chrome OS this function also returns true if the user has connected
- // to the device in the past.
- // TODO(crbug.com/649651): Change Chrome OS to only return true if the
- // device is actually paired.
virtual bool IsPaired() const = 0;
// Indicates whether the device is currently connected to the adapter.
@@ -285,10 +281,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDevice {
// were called after the corresponding call to Connect().
virtual bool IsConnecting() const = 0;
- // Indicates whether the device can be trusted, based on device properties,
- // such as vendor and product id.
- bool IsTrustable() const;
-
// Returns the set of UUIDs that this device supports.
// * For classic Bluetooth devices this data is collected from both the EIR
// data and SDP tables.

Powered by Google App Engine
This is Rietveld 408576698