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

Unified Diff: device/bluetooth/bluetooth_adapter_unittest.cc

Issue 2614753004: Remove ScopedVector from bluetooth. (Closed)
Patch Set: last win bits Created 3 years, 11 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 | « no previous file | device/bluetooth/bluetooth_adapter_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_unittest.cc b/device/bluetooth/bluetooth_adapter_unittest.cc
index 5217f6edcdfda58fbad879b69d17ac327443f3e3..95a10f3faa0d56a21609b4803818028d06276a69 100644
--- a/device/bluetooth/bluetooth_adapter_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_unittest.cc
@@ -9,6 +9,7 @@
#include <memory>
#include <utility>
+#include <vector>
#include "base/bind.h"
#include "base/memory/ref_counted.h"
@@ -114,7 +115,7 @@ class TestBluetoothAdapter : public BluetoothAdapter {
void TestErrorCallback() {}
- ScopedVector<BluetoothDiscoverySession> discovery_sessions_;
+ std::vector<std::unique_ptr<BluetoothDiscoverySession>> discovery_sessions_;
void TestOnStartDiscoverySession(
std::unique_ptr<device::BluetoothDiscoverySession> discovery_session) {
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698