| 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 1420ac5e6160ac43486ec0ae09e5e64c036b2d7b..154e5c41dad489ef89a75fee033bd53117771cfa 100644
|
| --- a/chrome/browser/ui/webui/help/help_utils_chromeos.cc
|
| +++ b/chrome/browser/ui/webui/help/help_utils_chromeos.cc
|
| @@ -51,7 +51,9 @@ bool IsUpdateOverCellularAllowed(bool interactive) {
|
| return false;
|
| }
|
|
|
| -base::string16 GetConnectionTypeAsUTF16(const std::string& type) {
|
| +base::string16 GetConnectionTypeAsUTF16(const chromeos::NetworkState* network) {
|
| + const std::string type =
|
| + network->IsUsingMobileData() ? shill::kTypeCellular : network->type();
|
| if (chromeos::NetworkTypePattern::Ethernet().MatchesType(type))
|
| return l10n_util::GetStringUTF16(IDS_NETWORK_TYPE_ETHERNET);
|
| if (type == shill::kTypeWifi)
|
|
|