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

Unified Diff: chromeos/network/managed_network_configuration_handler.h

Issue 2387783002: Remove stl_util's deletion functions from chromeos/. (Closed)
Patch Set: armansito 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
Index: chromeos/network/managed_network_configuration_handler.h
diff --git a/chromeos/network/managed_network_configuration_handler.h b/chromeos/network/managed_network_configuration_handler.h
index 40ba923d3f0541c74a16af585eacab692585e1f3..4b9129044197aa163ed52d1029e4472c0d605406 100644
--- a/chromeos/network/managed_network_configuration_handler.h
+++ b/chromeos/network/managed_network_configuration_handler.h
@@ -52,7 +52,8 @@ class NetworkPolicyObserver;
// user consumption.
class CHROMEOS_EXPORT ManagedNetworkConfigurationHandler {
public:
- using GuidToPolicyMap = std::map<std::string, const base::DictionaryValue*>;
+ using GuidToPolicyMap =
+ std::map<std::string, std::unique_ptr<base::DictionaryValue>>;
virtual ~ManagedNetworkConfigurationHandler();
@@ -61,7 +62,7 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandler {
// Provides the properties of the network with |service_path| to |callback|.
// |userhash| is used to set the "Source" property. If not provided then
- // user polcies will be ignored.
+ // user policies will be ignored.
virtual void GetProperties(
const std::string& userhash,
const std::string& service_path,
« no previous file with comments | « chromeos/dbus/fake_shill_profile_client.cc ('k') | chromeos/network/managed_network_configuration_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698