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

Unified Diff: components/wifi/network_properties.h

Issue 1917673002: Convert //components/[u-z]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 | « components/wifi/fake_wifi_service.cc ('k') | components/wifi/network_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/network_properties.h
diff --git a/components/wifi/network_properties.h b/components/wifi/network_properties.h
index 734137b33e4913e5cec6f5792204a5764528cce0..07bfe1dc1f6a4e7aca3c34b52208c7912bfc8d74 100644
--- a/components/wifi/network_properties.h
+++ b/components/wifi/network_properties.h
@@ -8,10 +8,10 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include <set>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "components/wifi/wifi_export.h"
@@ -52,7 +52,7 @@ struct WIFI_EXPORT NetworkProperties {
Frequency frequency;
FrequencySet frequency_set;
- scoped_ptr<base::DictionaryValue> ToValue(bool network_list) const;
+ std::unique_ptr<base::DictionaryValue> ToValue(bool network_list) const;
// Updates only properties set in |value|.
bool UpdateFromValue(const base::DictionaryValue& value);
static std::string MacAddressAsString(const uint8_t mac_as_int[6]);
« no previous file with comments | « components/wifi/fake_wifi_service.cc ('k') | components/wifi/network_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698