commit | 300a1d28b57bc0d49603c97828f1833f577bd46a | [log] [tgz] |
---|---|---|
author | jkarlin <[email protected]> | Fri Sep 18 19:32:52 2015 |
committer | Commit bot <[email protected]> | Fri Sep 18 19:33:48 2015 |
tree | 6675822e7b984f199a8f2e6b30f39eeb55748302 | |
parent | 4c9b4ae83c2c960feba25aa04573dc57962d0698 [diff] [blame] |
[NetInfo] Browser changes to support connection.downlinkMax Patch 1) https://crrev.com/1308943005 Patch 2) https://crrev.com/1306423004 (this) Patch 3) https://crrev.com/1309903006 Also depends on https://codereview.chromium.org/1306653003/ BUG=412741 Review URL: https://codereview.chromium.org/1306423004 Cr-Commit-Position: refs/heads/master@{#349739}
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h index b09df57..3b99b4e 100644 --- a/content/renderer/render_thread_impl.h +++ b/content/renderer/render_thread_impl.h
@@ -460,7 +460,9 @@ #if defined(ENABLE_PLUGINS) void OnPurgePluginListCache(bool reload_pages); #endif - void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); + void OnNetworkConnectionChanged( + net::NetworkChangeNotifier::ConnectionType type, + double max_bandwidth_mbps); void OnGetAccessibilityTree(); void OnUpdateTimezone(const std::string& zoneId); void OnMemoryPressure(