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

Unified Diff: ui/chromeos/network/network_connect.h

Issue 1272003002: Allow networkingPrivate to request configure UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 4 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: ui/chromeos/network/network_connect.h
diff --git a/ui/chromeos/network/network_connect.h b/ui/chromeos/network/network_connect.h
index 29434fb5e049b27fec4127e4aa6a51115b49101b..6a9a2755507947d3304550652591c4acec0d144e 100644
--- a/ui/chromeos/network/network_connect.h
+++ b/ui/chromeos/network/network_connect.h
@@ -63,6 +63,11 @@ class UI_CHROMEOS_EXPORT NetworkConnect {
// Requests a network connection and handles any errors and notifications.
virtual void ConnectToNetwork(const std::string& service_path) = 0;
+ // Maybe show the configuration UI after a connect failure based on the
+ // network state and error name. Returns true if the UI is shown.
+ virtual bool MaybeShowConfigureUI(const std::string& service_path,
+ const std::string& connect_error) = 0;
+
// Enables or disables a network technology. If |technology| refers to
// cellular and the device cannot be enabled due to a SIM lock, this function
// will launch the SIM unlock dialog.
« no previous file with comments | « extensions/browser/api/networking_private/networking_private_delegate.h ('k') | ui/chromeos/network/network_connect.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698