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

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

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc
diff --git a/ui/chromeos/network/network_connect.cc b/ui/chromeos/network/network_connect.cc
index 508ead12697e24938fa7fc0dbe2ecd60557d807d..23e1109b392f6dd688dd1bcc9d36680cef79870f 100644
--- a/ui/chromeos/network/network_connect.cc
+++ b/ui/chromeos/network/network_connect.cc
@@ -609,8 +609,7 @@ base::string16 NetworkConnectImpl::GetShillErrorString(
IDS_CHROMEOS_NETWORK_ERROR_PPP_AUTH_FAILED);
}
- if (base::StringToLowerASCII(error) ==
- base::StringToLowerASCII(std::string(shill::kUnknownString))) {
+ if (base::ToLowerASCII(error) == base::ToLowerASCII(shill::kUnknownString)) {
return l10n_util::GetStringUTF16(IDS_CHROMEOS_NETWORK_ERROR_UNKNOWN);
}
return l10n_util::GetStringFUTF16(IDS_NETWORK_UNRECOGNIZED_ERROR,
« no previous file with comments | « ui/base/clipboard/clipboard_util_win.cc ('k') | ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698