Index: components/wifi/wifi_service.h |
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h |
index 47d2def3db9316fa17b510feedd46e21da69f772..802e4457b63e2be0085464defcada2b0af90f17a 100644 |
--- a/components/wifi/wifi_service.h |
+++ b/components/wifi/wifi_service.h |
@@ -6,6 +6,7 @@ |
#define COMPONENTS_WIFI_WIFI_SERVICE_H_ |
#include <list> |
+#include <memory> |
#include <set> |
#include <string> |
#include <vector> |
@@ -13,7 +14,6 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/threading/sequenced_worker_pool.h" |
#include "base/values.h" |
#include "components/wifi/wifi_export.h" |
@@ -69,7 +69,7 @@ class WIFI_EXPORT WiFiService { |
// Set Properties of network identified by |network_guid|. Populates |error| |
// on failure. |
virtual void SetProperties(const std::string& network_guid, |
- scoped_ptr<base::DictionaryValue> properties, |
+ std::unique_ptr<base::DictionaryValue> properties, |
std::string* error) = 0; |
// Creates a new network configuration from |properties|. If |shared| is true, |
@@ -77,7 +77,7 @@ class WIFI_EXPORT WiFiService { |
// network already exists, this will fail and populate |error|. On success |
// populates the |network_guid| of the new network. |
virtual void CreateNetwork(bool shared, |
- scoped_ptr<base::DictionaryValue> properties, |
+ std::unique_ptr<base::DictionaryValue> properties, |
std::string* network_guid, |
std::string* error) = 0; |