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

Unified Diff: ash/system/chromeos/network/network_state_notifier.cc

Issue 16512003: Configure networks requiring a certificate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add localized Auth error messages Created 7 years, 6 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: ash/system/chromeos/network/network_state_notifier.cc
diff --git a/ash/system/chromeos/network/network_state_notifier.cc b/ash/system/chromeos/network/network_state_notifier.cc
index a00f7bc0502bfb965d5efe9d4ddc1d8cbf9e1b01..46bb071a2f846638400f0abd402d0d1b86c464d2 100644
--- a/ash/system/chromeos/network/network_state_notifier.cc
+++ b/ash/system/chromeos/network/network_state_notifier.cc
@@ -88,6 +88,13 @@ string16 GetErrorString(const NetworkState* network_state) {
return l10n_util::GetStringUTF16(
IDS_CHROMEOS_NETWORK_ERROR_PPP_AUTH_FAILED);
}
+ if (error == shill::kErrorEapAuthenticationFailed ||
+ error == shill::kErrorEapLocalTlsFailed ||
+ error == shill::kErrorEapRemoteTlsFailed) {
+ return l10n_util::GetStringUTF16(
+ IDS_CHROMEOS_NETWORK_ERROR_IPSEC_CERT_AUTH_FAILED);
pneubeck (no reviews) 2013/06/06 20:41:20 These errors are not related to IPsec only. Curren
stevenjb 2013/06/07 03:44:58 The message is "Failed to authenticate with provid
pneubeck (no reviews) 2013/06/07 12:05:47 Could be put into a follow-up CL: Looking at the
+ }
+
if (StringToLowerASCII(error) ==
StringToLowerASCII(std::string(flimflam::kUnknownString))) {
return l10n_util::GetStringUTF16(IDS_CHROMEOS_NETWORK_ERROR_UNKNOWN);

Powered by Google App Engine
This is Rietveld 408576698