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

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: . 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 a68e33ad1013d4d1cbc955a9461bd7c89e4c493b..c34bbf8766feb2584742be96b0a4f7a96ab7fc15 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -157,6 +157,16 @@ 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.
+ 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 more more
pneubeck (no reviews) 2013/05/22 08:42:40 more -> or
stevenjb 2013/05/22 16:08:23 Done.
+ // existing networks.
+ void RequestUpdateForAllNetworks();
+
// Set the user initiated connecting network.
void SetConnectingNetwork(const std::string& service_path);

Powered by Google App Engine
This is Rietveld 408576698