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

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: clean up 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 4b6e69c6c34cbeca9d5c844448cd507dad4f9401..1626c43d30a90dcfeb12d46f26c5781a4e174791 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