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 c76f7fd42969dbd175ad8c08c63aed501c0e1336..9c2457e21921d1ba6c3e8f16075e663fcf4afc42 100644 |
--- a/net/base/network_change_notifier_win.h |
+++ b/net/base/network_change_notifier_win.h |
@@ -9,6 +9,7 @@ |
#include <windows.h> |
#include "base/basictypes.h" |
+#include "base/timer.h" |
#include "base/win/object_watcher.h" |
#include "net/base/network_change_notifier.h" |
@@ -31,9 +32,14 @@ class NetworkChangeNotifierWin : public NetworkChangeNotifier, |
// Begins listening for a single subsequent address change. |
void WatchForAddressChange(); |
+ // Forwards online state notifications to parent class. |
+ void NotifyParentOfOnlineStateChange(); |
+ |
base::win::ObjectWatcher addr_watcher_; |
OVERLAPPED addr_overlapped_; |
+ base::OneShotTimer<NetworkChangeNotifierWin> timer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierWin); |
}; |