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

Unified Diff: content/renderer/net_info_helper.cc

Issue 307943004: Adds bluetooth connection type to NetworkChangeNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@netinfo
Patch Set: Everything I could find in a grep Created 6 years, 7 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
Index: content/renderer/net_info_helper.cc
diff --git a/content/renderer/net_info_helper.cc b/content/renderer/net_info_helper.cc
index 8e0d651f799612e7daacae3a7f69b8d338d09964..a833368ba7a320fca588d771307dffe03c3bfc23 100644
--- a/content/renderer/net_info_helper.cc
+++ b/content/renderer/net_info_helper.cc
@@ -22,6 +22,8 @@ NetConnectionTypeToWebConnectionType(
case net::NetworkChangeNotifier::CONNECTION_3G:
case net::NetworkChangeNotifier::CONNECTION_4G:
return blink::ConnectionTypeCellular;
+ case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
+ return blink::ConnectionTypeBluetooth;
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698