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

Unified Diff: net/base/network_change_notifier_win.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_win.h
diff --git a/net/base/network_change_notifier_win.h b/net/base/network_change_notifier_win.h
index aee5304ff6fe3d03506fa9827f99f55a1b16c14b..65f38ec6e0e973367a5bb30f0e38dc2ea779e879 100644
--- a/net/base/network_change_notifier_win.h
+++ b/net/base/network_change_notifier_win.h
@@ -50,7 +50,7 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierWin
friend class NetworkChangeNotifierWinTest;
// NetworkChangeNotifier methods:
- virtual bool IsCurrentlyOffline() const OVERRIDE;
+ virtual ConnectionState GetCurrentConnectionState() const OVERRIDE;
// ObjectWatcher::Delegate methods:
// Must only be called on the thread |this| was created on.
@@ -62,7 +62,7 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierWin
void NotifyObservers();
// Forwards online state notifications to parent class.
- void NotifyParentOfOnlineStateChange();
+ void NotifyParentOfConnectionStateChange();
// Tries to start listening for a single subsequent address change. Returns
// false on failure. The caller is responsible for updating |is_watching_|.

Powered by Google App Engine
This is Rietveld 408576698