Chromium Code Reviews| Index: ash/system/chromeos/network/network_connect.cc |
| diff --git a/ash/system/chromeos/network/network_connect.cc b/ash/system/chromeos/network/network_connect.cc |
| index 03c30be817189570e2f5cc9f98af91dcd2146930..144c9d0f8565a5761d3ae5aca4553c9bd3c4a8fb 100644 |
| --- a/ash/system/chromeos/network/network_connect.cc |
| +++ b/ash/system/chromeos/network/network_connect.cc |
| @@ -47,12 +47,20 @@ void OnConnectFailed(const std::string& service_path, |
| service_path); |
| return; |
| } |
| + // Shill does not always provide a helpful error. In this case, show the |
| + // configure UI and a notification. See crbug.com/217033 for an example. |
|
pneubeck (no reviews)
2013/06/06 20:41:20
"configure UI" -> "configuration UI" or "settings
stevenjb
2013/06/07 03:44:58
Done.
|
| + if (error_name == NetworkConnectionHandler::kErrorConnectFailed) { |
| + ash::Shell::GetInstance()->system_tray_delegate()->ConfigureNetwork( |
| + service_path); |
| + } |
| ash::Shell::GetInstance()->system_tray_notifier()->network_state_notifier()-> |
| ShowNetworkConnectError(error_name, service_path); |
| } |
| void OnConnectSucceeded(const std::string& service_path) { |
| VLOG(1) << "Connect Succeeded for " << service_path; |
| + ash::Shell::GetInstance()->system_tray_notifier()->NotifyClearNetworkMessage( |
| + NetworkObserver::ERROR_CONNECT_FAILED); |
| } |
| } // namespace |