summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_device_chromeos.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_device_chromeos.h')
-rw-r--r--device/bluetooth/bluetooth_device_chromeos.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h
index a4c213d..558ccce 100644
--- a/device/bluetooth/bluetooth_device_chromeos.h
+++ b/device/bluetooth/bluetooth_device_chromeos.h
@@ -139,9 +139,11 @@ class BluetoothDeviceChromeOS
const BluetoothDeviceClient::ServiceMap& service_map,
bool success);
- // Called by BluetoothProperty when the call to Set() for the Trusted
- // property completes. |success| indicates whether or not the request
- // succeeded.
+ // Set the device as trusted. Trusted devices can connect to us automatically,
+ // and we can connect to them after rebooting. This also causes the device to
+ // be remembered by the stack even if not paired. |success| to the callback
+ // indicates whether or not the request succeeded.
+ void SetTrusted();
void OnSetTrusted(bool success);
// Called by BluetoothAdapterClient when a call to GetServiceRecords()