Chromium Code Reviews| 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..3d19a70689f25a4e69bb7b27b1cb036157c036bc 100644 |
| --- a/ui/chromeos/network/network_connect.h |
| +++ b/ui/chromeos/network/network_connect.h |
| @@ -63,6 +63,12 @@ class UI_CHROMEOS_EXPORT NetworkConnect { |
| // Requests a network connection and handles any errors and notifications. |
| virtual void ConnectToNetwork(const std::string& service_path) = 0; |
| + // Handles connect request failures for |service_path| based on |error_name|. |
| + // Shows the configuration UI and returns true if the network might not be |
| + // configured, otherwise does nothing and returns false. |
| + virtual bool HandleConnectFailed(const std::string& service_path, |
|
pneubeck (no reviews)
2015/08/06 09:52:01
if possible, please consider giving this function
stevenjb
2015/08/07 17:39:37
Renamed MaybeShowConfigureUI.
|
| + const std::string& error_name) = 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. |