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

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: 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: 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..51441bfb1b9a8eb0bd9b595127cb3b8d0b82d0b7 100644
--- a/net/tools/net_watcher/net_watcher.cc
+++ b/net/tools/net_watcher/net_watcher.cc
@@ -50,8 +50,8 @@ const char* ConnectionTypeToString(
return "CONNECTION_4G";
case net::NetworkChangeNotifier::CONNECTION_NONE:
return "CONNECTION_NONE";
- default:
- return "CONNECTION_UNEXPECTED";
+ case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH:
+ return "CONNECTION_BLUETOOTH";
}
}

Powered by Google App Engine
This is Rietveld 408576698