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

Unified Diff: chromeos/network/managed_network_configuration_handler_impl.h

Issue 267433005: Provide IPConfigs in networkingPrivate.GetProperties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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_impl.h
diff --git a/chromeos/network/managed_network_configuration_handler_impl.h b/chromeos/network/managed_network_configuration_handler_impl.h
index 54cf226034242483073bd50d4c77d43caea4929c..3580b6f64ded1553cd07b45eb5628e969c3f9a05 100644
--- a/chromeos/network/managed_network_configuration_handler_impl.h
+++ b/chromeos/network/managed_network_configuration_handler_impl.h
@@ -43,7 +43,7 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandlerImpl
virtual void GetProperties(
const std::string& service_path,
const network_handler::DictionaryResultCallback& callback,
- const network_handler::ErrorCallback& error_callback) const OVERRIDE;
+ const network_handler::ErrorCallback& error_callback) OVERRIDE;
virtual void GetManagedProperties(
const std::string& userhash,
@@ -120,11 +120,21 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandlerImpl
const std::string& service_path,
const base::DictionaryValue& shill_properties);
+ void GetPropertiesCallback(
+ const network_handler::DictionaryResultCallback& callback,
+ const std::string& service_path,
+ const base::DictionaryValue& shill_properties);
+
const Policies* GetPoliciesForUser(const std::string& userhash) const;
const Policies* GetPoliciesForProfile(const NetworkProfile& profile) const;
void OnPolicyAppliedToNetwork(const std::string& service_path);
+ // Helper method to append "IPConfigs" property to |properties| by extracting
+ // them from the associated DeviceState.
+ void GetIPConfigs(const std::string& service_path,
+ base::DictionaryValue* properties);
+
// If present, the empty string maps to the device policy.
UserToPoliciesMap policies_by_user_;

Powered by Google App Engine
This is Rietveld 408576698