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

Unified Diff: public/web/WebNetworkStateNotifier.h

Issue 1308943005: [NetInfo] Add Blink support for connection.change, connection.downlinkMax, and wimax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test expectations Created 5 years, 4 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 c8d64d5be9dbb8544934300cce644aa14599ed1e..dd28c7ec76f3b808faf3000eab693ef77fc4eec3 100644
--- a/public/web/WebNetworkStateNotifier.h
+++ b/public/web/WebNetworkStateNotifier.h
@@ -39,7 +39,9 @@ namespace blink {
class WebNetworkStateNotifier {
public:
BLINK_EXPORT static void setOnLine(bool);
+ // Remove after browser-side starts using setWebConnection.
BLINK_EXPORT static void setWebConnectionType(WebConnectionType);
+ BLINK_EXPORT static void setWebConnection(WebConnectionType, double);
private:
WebNetworkStateNotifier();
« Source/platform/RuntimeEnabledFeatures.in ('K') | « public/platform/WebConnectionType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698