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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 2606823002: Remove base::ScopedPtrHashMap from device/. (Closed)
Patch Set: one last fix 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
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_adapter.cc » ('j') | device/bluetooth/bluetooth_device_android.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 8feb40975b0f700fc1a7b3ff2dc170a720a6b907..4a97d320fb044204cdc810887348adfa74128bd2 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -16,7 +16,6 @@
#include <vector>
#include "base/callback.h"
-#include "base/containers/scoped_ptr_hash_map.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
@@ -501,12 +500,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_device_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698