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

Unified Diff: chrome/browser/ui/webui/help/help_utils_chromeos.cc

Issue 23712002: Cleanup network type matching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/ui/webui/help/help_utils_chromeos.cc
diff --git a/chrome/browser/ui/webui/help/help_utils_chromeos.cc b/chrome/browser/ui/webui/help/help_utils_chromeos.cc
index c8b1e4d3d6c5b65c1e6f8c7e96633a8ca9ddbc86..d4213043860455f5b51c68973f672952a683cdbc 100644
--- a/chrome/browser/ui/webui/help/help_utils_chromeos.cc
+++ b/chrome/browser/ui/webui/help/help_utils_chromeos.cc
@@ -47,7 +47,7 @@ bool IsUpdateOverCellularAllowed() {
}
string16 GetConnectionTypeAsUTF16(const std::string& type) {
- if (type == flimflam::kTypeEthernet)
+ if (type == flimflam::kTypeEthernet || type == shill::kTypeEthernetEap)
stevenjb 2013/08/28 15:51:30 This is where having a method like shill_property_
pneubeck (no reviews) 2013/09/02 20:41:21 Done.
return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_ETHERNET);
if (type == flimflam::kTypeWifi)
return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_WIFI);

Powered by Google App Engine
This is Rietveld 408576698