Index: content/browser/bluetooth/bluetooth_dispatcher_host.cc |
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.cc b/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
index 7335a7bc3d930780eb598e663a90bda5bfefb499..df8f2c2d38551c0cf2565a9fcc3f56d242b6edef 100644 |
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
@@ -841,8 +841,7 @@ void BluetoothDispatcherHost::OnGATTConnectionCreated( |
base::TimeTicks start_time, |
scoped_ptr<device::BluetoothGattConnection> connection) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
- // TODO(ortuno): Save the BluetoothGattConnection so we can disconnect |
- // from it. |
+ connections_.push_back(connection.Pass()); |
RecordConnectGATTTimeSuccess(base::TimeTicks::Now() - start_time); |
RecordConnectGATTOutcome(UMAConnectGATTOutcome::SUCCESS); |
Send(new BluetoothMsg_ConnectGATTSuccess(thread_id, request_id, |