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

Unified Diff: components/arc/net/arc_net_host_impl.cc

Issue 1921973002: Convert //components/[a-e]* 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
Index: components/arc/net/arc_net_host_impl.cc
diff --git a/components/arc/net/arc_net_host_impl.cc b/components/arc/net/arc_net_host_impl.cc
index b5f2ab7219cb53935e6a5e03066d3f79aeaf5c0f..8e2acd3121c7f0cd3a29cc818f95ff81aeaf34e0 100644
--- a/components/arc/net/arc_net_host_impl.cc
+++ b/components/arc/net/arc_net_host_impl.cc
@@ -4,6 +4,7 @@
#include "components/arc/net/arc_net_host_impl.h"
+#include <memory>
#include <string>
#include <vector>
@@ -88,7 +89,7 @@ void ArcNetHostImpl::GetNetworks(mojom::GetNetworksRequestType type,
// Retrieve list of nearby wifi networks
chromeos::NetworkTypePattern network_pattern =
chromeos::onc::NetworkTypePatternFromOncType(onc::network_type::kWiFi);
- scoped_ptr<base::ListValue> network_properties_list =
+ std::unique_ptr<base::ListValue> network_properties_list =
chromeos::network_util::TranslateNetworkListToONC(
network_pattern, configured_only, visible_only,
kGetNetworksListLimit);
« no previous file with comments | « components/arc/ime/arc_ime_service_unittest.cc ('k') | components/arc/standalone/arc_standalone_bridge_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698