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

Unified Diff: device/bluetooth/bluetooth_adapter_unittest.cc

Issue 2567903004: Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map (Closed)
Patch Set: Created 4 years 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_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_unittest.cc b/device/bluetooth/bluetooth_adapter_unittest.cc
index 5217f6edcdfda58fbad879b69d17ac327443f3e3..43acb58959c5de6752514ecbd7a5de499dd5c1e4 100644
--- a/device/bluetooth/bluetooth_adapter_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_unittest.cc
@@ -114,7 +114,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') | device/bluetooth/bluetooth_adapter_win_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698