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

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: Rebase Created 5 years, 3 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 | « public/platform/WebConnectionType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebNetworkStateNotifier.h
diff --git a/public/web/WebNetworkStateNotifier.h b/public/web/WebNetworkStateNotifier.h
index c8d64d5be9dbb8544934300cce644aa14599ed1e..539753119ca30b5e5a6f1a238f19419a2a9cd495 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 maxBandwidthMbps);
private:
WebNetworkStateNotifier();
« no previous file with comments | « public/platform/WebConnectionType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698