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

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

Issue 2913323003: Settings: Network: Merge Tether networks into Mobile subpage (Closed)
Patch Set: Fix browser_tests Created 3 years, 7 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 ea4884ec15fd5d3f44de5345f329a825c5334d5f..068f3586a9adc51141950168fc9e1a80548133bf 100644
--- a/chrome/browser/ui/webui/help/help_utils_chromeos.cc
+++ b/chrome/browser/ui/webui/help/help_utils_chromeos.cc
@@ -63,8 +63,10 @@ base::string16 GetConnectionTypeAsUTF16(const chromeos::NetworkState* network) {
return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_WIMAX);
if (type == shill::kTypeBluetooth)
return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_BLUETOOTH);
- if (type == shill::kTypeCellular)
- return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_CELLULAR);
+ if (type == shill::kTypeCellular ||
+ chromeos::NetworkTypePattern::Tether().MatchesType(type)) {
+ return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_MOBILE_DATA);
+ }
if (type == shill::kTypeVPN)
return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_VPN);
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698