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

Unified Diff: device/bluetooth/bluetooth_adapter.cc

Issue 12929003: Implemented BluetoothAdapterMac::AddDevices(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted BluetoothDevice interface. Created 7 years, 9 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_adapter.cc
diff --git a/device/bluetooth/bluetooth_adapter.cc b/device/bluetooth/bluetooth_adapter.cc
index 6f036b321562589fd685643fe7b33f78e7472f6e..b64c1434d1bf0807da537593b5a5450309812928 100644
--- a/device/bluetooth/bluetooth_adapter.cc
+++ b/device/bluetooth/bluetooth_adapter.cc
@@ -4,6 +4,7 @@
#include "device/bluetooth/bluetooth_adapter.h"
+#include "base/stl_util.h"
#include "device/bluetooth/bluetooth_device.h"
namespace device {
@@ -12,6 +13,7 @@ BluetoothAdapter::BluetoothAdapter() {
}
BluetoothAdapter::~BluetoothAdapter() {
+ STLDeleteValues(&devices_);
}
const std::string& BluetoothAdapter::address() const {
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_chromeos.cc » ('j') | device/bluetooth/bluetooth_device_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698