Index: chromeos/network/managed_network_configuration_handler_impl.h |
diff --git a/chromeos/network/managed_network_configuration_handler_impl.h b/chromeos/network/managed_network_configuration_handler_impl.h |
index 3a45d745cac120c9cbd15c0e73a4a24b51573532..2aee0d31f5f9dfdd4ce1e57546c3c8b30d35cbba 100644 |
--- a/chromeos/network/managed_network_configuration_handler_impl.h |
+++ b/chromeos/network/managed_network_configuration_handler_impl.h |
@@ -95,7 +95,8 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandlerImpl |
const base::DictionaryValue* FindPolicyByGuidAndProfile( |
const std::string& guid, |
- const std::string& profile_path) const override; |
+ const std::string& profile_path, |
+ onc::ONCSource* onc_source) const override; |
// NetworkProfileObserver overrides |
void OnProfileAdded(const NetworkProfile& profile) override; |
@@ -155,7 +156,11 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandlerImpl |
const std::string& service_path, |
std::unique_ptr<base::DictionaryValue> shill_properties); |
+ // Returns the Policies for the given |userhash|, or the device policies if |
+ // |userhash| is empty. |
const Policies* GetPoliciesForUser(const std::string& userhash) const; |
+ // Returns the Policies for the given network |profile|. These could be either |
+ // user or device policies. |
const Policies* GetPoliciesForProfile(const NetworkProfile& profile) const; |
void OnPolicyAppliedToNetwork(const std::string& service_path, |