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

Unified Diff: Source/web/WebNetworkStateNotifier.cpp

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: Remove unused member 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
« no previous file with comments | « Source/core/page/NetworkStateNotifierTest.cpp ('k') | public/platform/WebConnectionType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebNetworkStateNotifier.cpp
diff --git a/Source/web/WebNetworkStateNotifier.cpp b/Source/web/WebNetworkStateNotifier.cpp
index 47325b0d8375badebfccc7baacd7ca437eab432b..c1917e5dd4434398b8e67708e93a3808f0d882e5 100644
--- a/Source/web/WebNetworkStateNotifier.cpp
+++ b/Source/web/WebNetworkStateNotifier.cpp
@@ -42,4 +42,9 @@ void WebNetworkStateNotifier::setOnLine(bool onLine)
networkStateNotifier().setOnLine(onLine);
}
+void WebNetworkStateNotifier::setWebConnectionType(WebConnectionType type)
+{
+ networkStateNotifier().setWebConnectionType(type);
+}
+
} // namespace blink
« no previous file with comments | « Source/core/page/NetworkStateNotifierTest.cpp ('k') | public/platform/WebConnectionType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698