summaryrefslogtreecommitdiffstats
path: root/chromeos/network/network_state_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/network/network_state_handler.h')
-rw-r--r--chromeos/network/network_state_handler.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index b7619a2..072258d 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -157,6 +157,19 @@ class CHROMEOS_EXPORT NetworkStateHandler
// networks when completed.
void ConnectToBestWifiNetwork();
+ // Request an update for an existing NetworkState, e.g. after configuring
+ // a network. This is a no-op if an update request is already pending.
+ // Returns true if the network exists and an update is requested or pending.
+ // When the properties are received, NetworkPropertiesUpdated will be
+ // signaled for each member of |observers_|, regardless of whether any
+ // properties actually changed.
+ bool RequestUpdateForNetwork(const std::string& service_path);
+
+ // Request an update for all existing NetworkState entries, e.g. after
+ // loading an ONC configuration file that may have updated one or more
+ // existing networks.
+ void RequestUpdateForAllNetworks();
+
// Set the user initiated connecting network.
void SetConnectingNetwork(const std::string& service_path);