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

Unified Diff: net/base/network_change_notifier_win.h

Issue 6526059: Plumb through NetworkChangeNotifier::IsOffline() to WebKit, enabling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Appease the C++ type system Created 9 years, 10 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
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/base/network_change_notifier_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/base/network_change_notifier_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698