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

Unified Diff: device/bluetooth/test/mock_bluetooth_gatt_service.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_gatt_service.h
diff --git a/device/bluetooth/test/mock_bluetooth_gatt_service.h b/device/bluetooth/test/mock_bluetooth_gatt_service.h
index 4e4460dab0853554ab70df414db5c20e9ce88b28..3eb9382593ab8d9b6c4a44efc020b6f0640eca36 100644
--- a/device/bluetooth/test/mock_bluetooth_gatt_service.h
+++ b/device/bluetooth/test/mock_bluetooth_gatt_service.h
@@ -64,7 +64,8 @@ class MockBluetoothGattService : public BluetoothRemoteGattService {
const std::string& identifier) const;
private:
- ScopedVector<MockBluetoothGattCharacteristic> mock_characteristics_;
+ std::vector<std::unique_ptr<MockBluetoothGattCharacteristic>>
+ mock_characteristics_;
DISALLOW_COPY_AND_ASSIGN(MockBluetoothGattService);
};

Powered by Google App Engine
This is Rietveld 408576698