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

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

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
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..7a8a381e29e19412b91098a13fe6eca4f8b3f596 100644
--- a/device/bluetooth/test/mock_bluetooth_gatt_service.h
+++ b/device/bluetooth/test/mock_bluetooth_gatt_service.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "device/bluetooth/bluetooth_remote_gatt_service.h"
#include "device/bluetooth/bluetooth_uuid.h"
#include "device/bluetooth/test/mock_bluetooth_gatt_characteristic.h"
@@ -64,7 +63,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);
};
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_device.cc ('k') | device/bluetooth/test/mock_bluetooth_gatt_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698