summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/net_info_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/renderer/net_info_helper.cc')
-rw-r--r--chromium/content/renderer/net_info_helper.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/content/renderer/net_info_helper.cc b/chromium/content/renderer/net_info_helper.cc
index 4db66413ece..4d26d02f775 100644
--- a/chromium/content/renderer/net_info_helper.cc
+++ b/chromium/content/renderer/net_info_helper.cc
@@ -19,9 +19,11 @@ NetConnectionTypeToWebConnectionType(
case net::NetworkChangeNotifier::CONNECTION_NONE:
return blink::WebConnectionTypeNone;
case net::NetworkChangeNotifier::CONNECTION_2G:
+ return blink::WebConnectionTypeCellular2G;
case net::NetworkChangeNotifier::CONNECTION_3G:
+ return blink::WebConnectionTypeCellular3G;
case net::NetworkChangeNotifier::CONNECTION_4G:
- return blink::WebConnectionTypeCellular;
+ return blink::WebConnectionTypeCellular4G;
case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
return blink::WebConnectionTypeBluetooth;
}