Index: device/bluetooth/dbus/fake_bluetooth_input_client.h |
diff --git a/device/bluetooth/dbus/fake_bluetooth_input_client.h b/device/bluetooth/dbus/fake_bluetooth_input_client.h |
index 81139db4e728086436b94a9b31d396b74e632f21..3860749a65943833fb083ebaacbce5639f856661 100644 |
--- a/device/bluetooth/dbus/fake_bluetooth_input_client.h |
+++ b/device/bluetooth/dbus/fake_bluetooth_input_client.h |
@@ -5,6 +5,8 @@ |
#ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ |
#define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ |
+#include <memory> |
+ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/observer_list.h" |
@@ -52,8 +54,7 @@ class DEVICE_BLUETOOTH_EXPORT FakeBluetoothInputClient |
const std::string& property_name); |
// Static properties we return. |
- typedef std::map<const dbus::ObjectPath, Properties*> PropertiesMap; |
- PropertiesMap properties_map_; |
+ std::map<const dbus::ObjectPath, std::unique_ptr<Properties>> properties_map_; |
// List of observers interested in event notifications from us. |
base::ObserverList<Observer> observers_; |