Index: device/bluetooth/bluetooth_socket_chromeos.h |
diff --git a/device/bluetooth/bluetooth_socket_chromeos.h b/device/bluetooth/bluetooth_socket_chromeos.h |
index f836b212f51e802765a1b3199a7c91f6cae6aeb2..caa0c7150afbee7ed26da35ecaca90dc66c92728 100644 |
--- a/device/bluetooth/bluetooth_socket_chromeos.h |
+++ b/device/bluetooth/bluetooth_socket_chromeos.h |
@@ -148,9 +148,11 @@ |
// Method run to clean-up a listening socket. |
void DoCloseListening(); |
- // Unregisters this socket's usage of the Bluetooth profile which cleans up |
- // the profile if no one is using it. |
+ // Unregister the underlying profile client object from the Bluetooth Daemon. |
void UnregisterProfile(); |
+ |
+ // Releases the profile after the delegate is gone. |
+ void ReleaseProfile(BluetoothAdapterProfileChromeOS* profile); |
// Adapter the profile is registered against |
scoped_refptr<device::BluetoothAdapter> adapter_; |