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

Unified Diff: content/renderer/net_info_helper.cc

Issue 1310343010: Update browser code to use new enum names for WebConnectionType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/net_info_helper.cc
diff --git a/content/renderer/net_info_helper.cc b/content/renderer/net_info_helper.cc
index 84b9d24a280b07547859a1eff30bfc882027b6de..4db66413ece8e4a2704fec742518ea7908bd2439 100644
--- a/content/renderer/net_info_helper.cc
+++ b/content/renderer/net_info_helper.cc
@@ -11,23 +11,23 @@ NetConnectionTypeToWebConnectionType(
net::NetworkChangeNotifier::ConnectionType net_type) {
switch (net_type) {
case net::NetworkChangeNotifier::CONNECTION_UNKNOWN:
- return blink::ConnectionTypeUnknown;
+ return blink::WebConnectionTypeUnknown;
case net::NetworkChangeNotifier::CONNECTION_ETHERNET:
- return blink::ConnectionTypeEthernet;
+ return blink::WebConnectionTypeEthernet;
case net::NetworkChangeNotifier::CONNECTION_WIFI:
- return blink::ConnectionTypeWifi;
+ return blink::WebConnectionTypeWifi;
case net::NetworkChangeNotifier::CONNECTION_NONE:
- return blink::ConnectionTypeNone;
+ return blink::WebConnectionTypeNone;
case net::NetworkChangeNotifier::CONNECTION_2G:
case net::NetworkChangeNotifier::CONNECTION_3G:
case net::NetworkChangeNotifier::CONNECTION_4G:
- return blink::ConnectionTypeCellular;
+ return blink::WebConnectionTypeCellular;
case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
- return blink::ConnectionTypeBluetooth;
+ return blink::WebConnectionTypeBluetooth;
}
NOTREACHED();
- return blink::ConnectionTypeNone;
+ return blink::WebConnectionTypeNone;
}
} // namespace content
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698