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

Unified Diff: public/platform/WebConnectionType.h

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/modules/netinfo/NetworkInformation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebConnectionType.h
diff --git a/public/platform/WebConnectionType.h b/public/platform/WebConnectionType.h
index 984a7e611b2fecb31fadfeeeba16e56f868992ba..7c2ab58c2aad8559ac79059cf92bcfc498a99bd8 100644
--- a/public/platform/WebConnectionType.h
+++ b/public/platform/WebConnectionType.h
@@ -35,7 +35,18 @@ namespace blink {
// Connection types from http://w3c.github.io/netinfo/.
enum WebConnectionType {
- ConnectionTypeCellular = 0,
+ WebConnectionTypeCellular = 0,
+ WebConnectionTypeBluetooth,
+ WebConnectionTypeEthernet,
+ WebConnectionTypeWifi,
+ WebConnectionTypeWimax,
+ WebConnectionTypeOther,
+ WebConnectionTypeNone,
+ WebConnectionTypeUnknown,
+ WebConnectionTypeLast = WebConnectionTypeUnknown,
+
+ // TODO(jkarlin): Remove these after the browser only uses the Web* prefixes.
+ ConnectionTypeCellular = WebConnectionTypeCellular,
ConnectionTypeBluetooth,
ConnectionTypeEthernet,
ConnectionTypeWifi,
« no previous file with comments | « Source/modules/netinfo/NetworkInformation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698