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

Unified Diff: net/tools/net_watcher/net_watcher.cc

Issue 307943004: Adds bluetooth connection type to NetworkChangeNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@netinfo
Patch Set: Removing browser test as it only needs to be tested for initial landing 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: net/tools/net_watcher/net_watcher.cc
diff --git a/net/tools/net_watcher/net_watcher.cc b/net/tools/net_watcher/net_watcher.cc
index e5582609e744af0799d01684ded47014055ccd74..0b64cf6f2c68e9a7cae07c422d0ddd7feb06d225 100644
--- a/net/tools/net_watcher/net_watcher.cc
+++ b/net/tools/net_watcher/net_watcher.cc
@@ -50,6 +50,8 @@ const char* ConnectionTypeToString(
return "CONNECTION_4G";
case net::NetworkChangeNotifier::CONNECTION_NONE:
return "CONNECTION_NONE";
+ case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
+ return "CONNECTION_BLUETOOTH";
default:
return "CONNECTION_UNEXPECTED";
}

Powered by Google App Engine
This is Rietveld 408576698