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

Unified Diff: device/bluetooth/test/mock_bluetooth_device.h

Issue 2567903004: Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map (Closed)
Patch Set: Mac bustage 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/test/mock_bluetooth_device.h
diff --git a/device/bluetooth/test/mock_bluetooth_device.h b/device/bluetooth/test/mock_bluetooth_device.h
index f7a620b59c0b48c201ef6b5fe7ae731418794a83..090a5965554288864a1ba62f6c1433859b793a39 100644
--- a/device/bluetooth/test/mock_bluetooth_device.h
+++ b/device/bluetooth/test/mock_bluetooth_device.h
@@ -136,7 +136,7 @@ class MockBluetoothDevice : public BluetoothDevice {
// Used by tests to save callbacks that will be run in the future.
std::queue<base::Closure> pending_callbacks_;
- ScopedVector<MockBluetoothGattService> mock_services_;
+ std::vector<std::unique_ptr<MockBluetoothGattService>> mock_services_;
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698