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

Unified Diff: device/bluetooth/bluetooth_adapter.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_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 8feb40975b0f700fc1a7b3ff2dc170a720a6b907..02406fbb4146b386458a3fe10d91ab33b017a603 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -501,12 +501,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
friend class BluetoothDiscoverySession;
friend class BluetoothTestBase;
- typedef base::ScopedPtrHashMap<std::string, std::unique_ptr<BluetoothDevice>>
- DevicesMap;
- typedef std::pair<BluetoothDevice::PairingDelegate*, PairingDelegatePriority>
- PairingDelegatePair;
- typedef base::Callback<void(UMABluetoothDiscoverySessionOutcome)>
- DiscoverySessionErrorCallback;
+ using DevicesMap =
+ std::unordered_map<std::string, std::unique_ptr<BluetoothDevice>>;
+ using PairingDelegatePair =
+ std::pair<BluetoothDevice::PairingDelegate*, PairingDelegatePriority>;
+ using DiscoverySessionErrorCallback =
+ base::Callback<void(UMABluetoothDiscoverySessionOutcome)>;
BluetoothAdapter();
virtual ~BluetoothAdapter();
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter.cc » ('j') | device/bluetooth/bluetooth_adapter_mac_unittest.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698