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

Unified Diff: chromeos/network/network_change_notifier_chromeos.cc

Issue 301193002: Support Bluetooth network connection type on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_change_notifier_chromeos.cc
diff --git a/chromeos/network/network_change_notifier_chromeos.cc b/chromeos/network/network_change_notifier_chromeos.cc
index 5c6908a0db32506d05e603eb3347beb6a14f8afd..fdb3cd8f241a038eb4e72ecb450988ada58d2071 100644
--- a/chromeos/network/network_change_notifier_chromeos.cc
+++ b/chromeos/network/network_change_notifier_chromeos.cc
@@ -203,6 +203,8 @@ NetworkChangeNotifierChromeos::ConnectionTypeFromShill(
return CONNECTION_WIFI;
else if (type == shill::kTypeWimax)
return CONNECTION_4G;
+ else if (type == shill::kTypeBluetooth)
+ return CONNECTION_BLUETOOTH;
if (type != shill::kTypeCellular)
return CONNECTION_UNKNOWN;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698