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

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

Issue 1083093004: Removing unnecessary blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: trybot fixing Created 5 years, 8 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 | Source/web/ChromeClientImpl.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 bd0be1cbba90207859eafe57c25458b2b13272b2..737423cd547a657ad6cdf813c5ce795fefd5f17a 100644
--- a/Source/modules/netinfo/NetworkInformation.cpp
+++ b/Source/modules/netinfo/NetworkInformation.cpp
@@ -13,22 +13,24 @@
namespace {
-String connectionTypeToString(blink::WebConnectionType type)
+using namespace blink;
+
+String connectionTypeToString(WebConnectionType type)
{
switch (type) {
- case blink::ConnectionTypeCellular:
+ case ConnectionTypeCellular:
return "cellular";
- case blink::ConnectionTypeBluetooth:
+ case ConnectionTypeBluetooth:
return "bluetooth";
- case blink::ConnectionTypeEthernet:
+ case ConnectionTypeEthernet:
return "ethernet";
- case blink::ConnectionTypeWifi:
+ case ConnectionTypeWifi:
return "wifi";
- case blink::ConnectionTypeOther:
+ case ConnectionTypeOther:
return "other";
- case blink::ConnectionTypeNone:
+ case ConnectionTypeNone:
return "none";
- case blink::ConnectionTypeUnknown:
+ case ConnectionTypeUnknown:
return "unknown";
}
ASSERT_NOT_REACHED();
« no previous file with comments | « no previous file | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698