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

Unified Diff: chromeos/network/network_state_handler.h

Issue 15233002: Add NetworkStateHandler::RequestUpdateForNetwork (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add request call for NetworkConfigurationHandler::CreateConfiguration Created 7 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/network_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index b7619a2fd58fece3bd6bb4c9f7265ae44d41c86d..072258d3cec0e9efba9d8cc3d560352b19f69b38 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);
« no previous file with comments | « chromeos/network/network_configuration_handler_unittest.cc ('k') | chromeos/network/network_state_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698