| 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();
|
|
|