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

Unified Diff: net/base/network_change_notifier_linux.h

Issue 9147026: API for connection type (Ethernet/WIFI/WWAN ...) in NetworkChangeNotifier. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 11 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/base/network_change_notifier_linux.h
diff --git a/net/base/network_change_notifier_linux.h b/net/base/network_change_notifier_linux.h
index 3dbb814623b90b9ab8a26aa13d59b041c9d4b298..60ac84cc019bf7d26e1b4a24fa08974fbab78092 100644
--- a/net/base/network_change_notifier_linux.h
+++ b/net/base/network_change_notifier_linux.h
@@ -33,7 +33,7 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierLinux
virtual ~NetworkChangeNotifierLinux();
// NetworkChangeNotifier:
- virtual bool IsCurrentlyOffline() const OVERRIDE;
+ virtual ConnectionState GetCurrentConnectionState() const OVERRIDE;
// The thread used to listen for notifications. This relays the notification
// to the registered observers without posting back to the thread the object

Powered by Google App Engine
This is Rietveld 408576698