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

Unified Diff: content/public/common/web_preferences.cc

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/public/common/web_preferences.cc
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index b50bf734d2fce811505eff0e767e7336b8f4d84f..ac2b5da72ceee40a3c17c8b3ccaa85d3495aa3f8 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -97,7 +97,8 @@ WebPreferences::WebPreferences()
caret_browsing_enabled(false),
hyperlink_auditing_enabled(true),
is_online(true),
- connection_type(net::NetworkChangeNotifier::CONNECTION_NONE),
+ net_info_connection_type(net::NetworkChangeNotifier::CONNECTION_NONE),
+ net_info_max_bandwidth_mbps(0.0),
pauljensen 2015/09/11 14:25:37 might want to replace 0.0 with GetMaxBandWidthForC
jkarlin 2015/09/11 20:15:21 Done.
allow_universal_access_from_file_urls(false),
allow_file_access_from_file_urls(false),
webaudio_enabled(false),

Powered by Google App Engine
This is Rietveld 408576698