Index: device/bluetooth/bluetooth_adapter_chromeos.h |
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h |
index 12a88f9bbff9a13e1f526f28013b77773e23e2a0..162733c8dc5b8492d006f8ace14a54537f871a60 100644 |
--- a/device/bluetooth/bluetooth_adapter_chromeos.h |
+++ b/device/bluetooth/bluetooth_adapter_chromeos.h |
@@ -138,8 +138,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS |
const ProfileRegisteredCallback& success_callback, |
const ErrorCompletionCallback& error_callback); |
- // Releases the profile associated with |uuid| |
- void ReleaseProfile(const device::BluetoothUUID& uuid); |
+ // Release use of a profile by a device. |
+ void ReleaseProfile(const dbus::ObjectPath& device_path, |
+ BluetoothAdapterProfileChromeOS* profile); |
protected: |
// BluetoothAdapter: |
@@ -283,6 +284,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS |
const std::string& error_name, |
const std::string& error_message); |
+ // Called by BluetoothAdapterProfileChromeOS when no users of a profile |
+ // remain. |
+ void RemoveProfile(const device::BluetoothUUID& uuid); |
+ |
// Processes the queued discovery requests. For each DiscoveryCallbackPair in |
// the queue, this method will try to add a new discovery session. This method |
// is called whenever a pending D-Bus call to start or stop discovery has |