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

Unified Diff: device/bluetooth/bluetooth_device_experimental_chromeos.h

Issue 14225017: Bluetooth: treat unpairable devices as Trusted/Paired (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indentation and log message Created 7 years, 8 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_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::
« no previous file with comments | « device/bluetooth/bluetooth_device_chromeos.cc ('k') | device/bluetooth/bluetooth_device_experimental_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698