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

Unified Diff: Source/modules/netinfo/NetworkInformation.cpp

Issue 1333613004: Refactor WebConnectionType names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@netinfo
Patch Set: Fix enum and tests 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 | « Source/core/testing/Internals.cpp ('k') | public/platform/WebConnectionType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/netinfo/NetworkInformation.cpp
diff --git a/Source/modules/netinfo/NetworkInformation.cpp b/Source/modules/netinfo/NetworkInformation.cpp
index 0be19dab5d5c709249a4ff08fd809c80a9c56b15..7b979724a93bf4361dd6f35e2e6e04848194cbd7 100644
--- a/Source/modules/netinfo/NetworkInformation.cpp
+++ b/Source/modules/netinfo/NetworkInformation.cpp
@@ -19,21 +19,21 @@ using namespace blink;
String connectionTypeToString(WebConnectionType type)
{
switch (type) {
- case ConnectionTypeCellular:
+ case WebConnectionTypeCellular:
return "cellular";
- case ConnectionTypeBluetooth:
+ case WebConnectionTypeBluetooth:
return "bluetooth";
- case ConnectionTypeEthernet:
+ case WebConnectionTypeEthernet:
return "ethernet";
- case ConnectionTypeWifi:
+ case WebConnectionTypeWifi:
return "wifi";
- case ConnectionTypeWimax:
+ case WebConnectionTypeWimax:
return "wimax";
- case ConnectionTypeOther:
+ case WebConnectionTypeOther:
return "other";
- case ConnectionTypeNone:
+ case WebConnectionTypeNone:
return "none";
- case ConnectionTypeUnknown:
+ case WebConnectionTypeUnknown:
return "unknown";
}
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | public/platform/WebConnectionType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698