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

Unified Diff: chromeos/network/device_state.h

Issue 267433005: Provide IPConfigs in networkingPrivate.GetProperties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Elim DHCP ONC types Created 6 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: chromeos/network/device_state.h
diff --git a/chromeos/network/device_state.h b/chromeos/network/device_state.h
index bbbc93b6054aabf33bdbaeb23897b413ca8e4be6..56228352ffb6e20f18bb8303eaf9f207a73f4765 100644
--- a/chromeos/network/device_state.h
+++ b/chromeos/network/device_state.h
@@ -26,6 +26,9 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
virtual bool InitialPropertiesReceived(
const base::DictionaryValue& properties) OVERRIDE;
+ void IPConfigPropertiesChanged(const std::string& ip_config_path,
+ const base::DictionaryValue& properties);
+
// Accessors
const std::string& mac_address() const { return mac_address_; }
@@ -52,6 +55,7 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
// Do not use this. It exists temporarily for internet_options_handler.cc
// which is being deprecated.
const base::DictionaryValue& properties() const { return properties_; }
+ const base::DictionaryValue& ip_configs() const { return ip_configs_; }
// Ethernet specific accessors
bool eap_authentication_completed() const {
@@ -89,6 +93,9 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
// Keep all Device properties in a dictionary for now. See comment above.
base::DictionaryValue properties_;
+ // Dictionary of IPConfig properties, keyed by ip config path.
pneubeck (no reviews) 2014/05/05 21:09:28 maybe 'ip config path' -> 'IPConfig path'
stevenjb 2014/05/06 01:15:11 Done.
+ base::DictionaryValue ip_configs_;
+
DISALLOW_COPY_AND_ASSIGN(DeviceState);
};

Powered by Google App Engine
This is Rietveld 408576698