Index: device/bluetooth/bluetooth_device_experimental_chromeos.h |
diff --git a/device/bluetooth/bluetooth_device_experimental_chromeos.h b/device/bluetooth/bluetooth_device_experimental_chromeos.h |
index aa2465738ff9c471f2e7c7f8b9caab4c258172ca..e30fdf8815c73b7e4c75f7f613407c2938f1165b 100644 |
--- a/device/bluetooth/bluetooth_device_experimental_chromeos.h |
+++ b/device/bluetooth/bluetooth_device_experimental_chromeos.h |
@@ -131,7 +131,11 @@ class BluetoothDeviceExperimentalChromeOS |
void OnCancelPairingError(const std::string& error_name, |
const std::string& error_message); |
- // Called by dbus:: on completion of the trusted property change. |
+ // Internal method to set the device as trusted. Trusted devices can connect |
+ // to us automatically, and we can connect to them after rebooting; it 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); |
// Internal method to unregister the pairing agent and method called by dbus:: |