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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 2357083002: bluetooth: Leak connections to paired devices (Closed)
Patch Set: Fix test Created 4 years, 3 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 | « no previous file | device/bluetooth/bluez/bluetooth_device_bluez.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index 2a5389c4f2b363a78ea4a01414b6db50c9748909..23565c9b7a804979d7a1da86f8ffcd6d181358b3 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -277,6 +277,10 @@ 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.
« no previous file with comments | « no previous file | device/bluetooth/bluez/bluetooth_device_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698