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

Unified Diff: Source/core/testing/Internals.cpp

Issue 1054803006: Removing unnecessary blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « Source/core/page/NetworkStateNotifierTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 486f8b1112f44f47b3cce526b48ac0d7b5cc9460..450d41bfa3b79357aa4a52e9a2233397f4116d30 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -2211,21 +2211,21 @@ void Internals::setNetworkStateNotifierTestOnly(bool testOnly)
void Internals::setNetworkConnectionInfo(const String& type, ExceptionState& exceptionState)
{
- blink::WebConnectionType webtype;
+ WebConnectionType webtype;
if (type == "cellular") {
- webtype = blink::ConnectionTypeCellular;
+ webtype = ConnectionTypeCellular;
} else if (type == "bluetooth") {
- webtype = blink::ConnectionTypeBluetooth;
+ webtype = ConnectionTypeBluetooth;
} else if (type == "ethernet") {
- webtype = blink::ConnectionTypeEthernet;
+ webtype = ConnectionTypeEthernet;
} else if (type == "wifi") {
- webtype = blink::ConnectionTypeWifi;
+ webtype = ConnectionTypeWifi;
} else if (type == "other") {
- webtype = blink::ConnectionTypeOther;
+ webtype = ConnectionTypeOther;
} else if (type == "none") {
- webtype = blink::ConnectionTypeNone;
+ webtype = ConnectionTypeNone;
} else if (type == "unknown") {
- webtype = blink::ConnectionTypeUnknown;
+ webtype = ConnectionTypeUnknown;
} else {
exceptionState.throwDOMException(NotFoundError, ExceptionMessages::failedToEnumerate("connection type", type));
return;
« no previous file with comments | « Source/core/page/NetworkStateNotifierTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698