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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_input_client.h

Issue 2443803002: Remove stl_util's deletion function use from device/. (Closed)
Patch Set: _ Created 4 years, 2 months 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/dbus/fake_bluetooth_input_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | device/bluetooth/dbus/fake_bluetooth_input_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698