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

Unified Diff: content/common/view_messages.h

Issue 1306423004: [NetInfo] Browser changes to support connection.downlinkMax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 0cb14038cd572a96905c60fba432274776fd6629..3bcd7df5f1379ece32294629810dbf167aef6757 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -845,8 +845,9 @@ IPC_MESSAGE_ROUTED0(ViewMsg_WorkerConnected)
// Tells the renderer that the network type has changed so that navigator.onLine
// and navigator.connection can be updated.
-IPC_MESSAGE_CONTROL1(ViewMsg_NetworkTypeChanged,
- net::NetworkChangeNotifier::ConnectionType /* type */)
+IPC_MESSAGE_CONTROL2(ViewMsg_NetworkConnectionChanged,
+ net::NetworkChangeNotifier::ConnectionType /* type */,
+ double /* max bandwidth mbps */)
#if defined(ENABLE_PLUGINS)
// Reply to ViewHostMsg_OpenChannelToPpapiBroker

Powered by Google App Engine
This is Rietveld 408576698