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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_android.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/bluetooth_remote_gatt_service_android.h
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_android.h b/device/bluetooth/bluetooth_remote_gatt_service_android.h
index ef3be1bc075ac5b3f6fd512c4da59f7c0bcdfed4..2a868e71aa08cecf8107352c682315e1f6098164 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_android.h
+++ b/device/bluetooth/bluetooth_remote_gatt_service_android.h
@@ -109,9 +109,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattServiceAndroid
std::string instance_id_;
// Map of characteristics, keyed by characteristic identifier.
- base::ScopedPtrHashMap<
- std::string,
- std::unique_ptr<BluetoothRemoteGattCharacteristicAndroid>>
+ std::unordered_map<std::string,
+ std::unique_ptr<BluetoothRemoteGattCharacteristicAndroid>>
characteristics_;
DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattServiceAndroid);

Powered by Google App Engine
This is Rietveld 408576698