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

Unified Diff: device/bluetooth/bluetooth_socket_chromeos.h

Issue 935383003: Fix BluetoothAdapterProfileChromeOS lifecycle management (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix for leak detected by LSAN Created 5 years, 10 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
« no previous file with comments | « device/bluetooth/bluetooth_chromeos_unittest.cc ('k') | device/bluetooth/bluetooth_socket_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_socket_chromeos.h
diff --git a/device/bluetooth/bluetooth_socket_chromeos.h b/device/bluetooth/bluetooth_socket_chromeos.h
index caa0c7150afbee7ed26da35ecaca90dc66c92728..f836b212f51e802765a1b3199a7c91f6cae6aeb2 100644
--- a/device/bluetooth/bluetooth_socket_chromeos.h
+++ b/device/bluetooth/bluetooth_socket_chromeos.h
@@ -148,12 +148,10 @@ class CHROMEOS_EXPORT BluetoothSocketChromeOS
// Method run to clean-up a listening socket.
void DoCloseListening();
- // Unregister the underlying profile client object from the Bluetooth Daemon.
+ // Unregisters this socket's usage of the Bluetooth profile which cleans up
+ // the profile if no one is using it.
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_;
« no previous file with comments | « device/bluetooth/bluetooth_chromeos_unittest.cc ('k') | device/bluetooth/bluetooth_socket_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698