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

Unified Diff: content/renderer/render_thread_impl.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/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index b09df57f599261b7925350fbf68477383fafe09b..3b99b4e2544ce64aa2051f89b5a97f4150237b40 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -460,7 +460,9 @@ class CONTENT_EXPORT RenderThreadImpl
#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(

Powered by Google App Engine
This is Rietveld 408576698