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

Unified Diff: net/base/network_change_notifier_win.cc

Issue 1306653003: Add connection type to NCN::MaxBandwidthChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment nit 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: net/base/network_change_notifier_win.cc
diff --git a/net/base/network_change_notifier_win.cc b/net/base/network_change_notifier_win.cc
index e893329b3bd62cf570fe04be32aeceba8512c669..aca6cc3592ac485f857bb0562dc50dcacf7ce227 100644
--- a/net/base/network_change_notifier_win.cc
+++ b/net/base/network_change_notifier_win.cc
@@ -318,6 +318,8 @@ void NetworkChangeNotifierWin::NotifyParentOfConnectionTypeChange() {
last_announced_offline_ = current_offline;
NotifyObserversOfConnectionTypeChange();
+ NotifyObserversOfMaxBandwidthChange(
+ GetConnectionType(), GetCurrentMaxBandwidthAndConnectionType());
}
} // namespace net
« net/base/network_change_notifier.h ('K') | « net/base/network_change_notifier_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698