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

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: 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: Source/web/WebNetworkStateNotifier.cpp
diff --git a/Source/web/WebNetworkStateNotifier.cpp b/Source/web/WebNetworkStateNotifier.cpp
index 47325b0d8375badebfccc7baacd7ca437eab432b..84d10722a2a2d3c9dfd51599d9d56fceb21ac07d 100644
--- a/Source/web/WebNetworkStateNotifier.cpp
+++ b/Source/web/WebNetworkStateNotifier.cpp
@@ -42,4 +42,9 @@ void WebNetworkStateNotifier::setOnLine(bool onLine)
networkStateNotifier().setOnLine(onLine);
adamk 2014/05/20 15:00:36 Do you plan to unify the setOnLine bit with the We
jkarlin 2014/05/20 16:20:23 Today we determine online by connection type, but
}
+void WebNetworkStateNotifier::setWebConnectionType(WebNetworkConnection::ConnectionType type)
+{
+ networkStateNotifier().setWebConnectionType(type);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698