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

Unified Diff: public/web/WebNetworkStateNotifier.h

Issue 289333003: Adds type information to the NetworkStateNotifier. Also allows for registration of observers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Thread safe observer list 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: public/web/WebNetworkStateNotifier.h
diff --git a/public/web/WebNetworkStateNotifier.h b/public/web/WebNetworkStateNotifier.h
index 5b2ec92fc71095d839c531005dea1f027772eca9..f8301bef3ca220708fb0c4900b2866c78fee17af 100644
--- a/public/web/WebNetworkStateNotifier.h
+++ b/public/web/WebNetworkStateNotifier.h
@@ -32,12 +32,14 @@
#define WebNetworkStateNotifier_h
#include "../platform/WebCommon.h"
+#include "../platform/WebNetworkConnection.h"
namespace blink {
class WebNetworkStateNotifier {
public:
BLINK_EXPORT static void setOnLine(bool);
+ BLINK_EXPORT static void setWebConnectionType(WebNetworkConnection::ConnectionType);
private:
WebNetworkStateNotifier();
« public/platform/WebNetworkConnection.h ('K') | « public/platform/WebNetworkConnection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698