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

Unified Diff: webrtc/base/networkroute.h

Issue 2094863003: Reland of "Revert of Update the BWE when the network route changes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | webrtc/call/call.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/networkroute.h
diff --git a/webrtc/base/networkroute.h b/webrtc/base/networkroute.h
index 52fa6d612f47d93983bbfdac973388ff0ce5a70e..a34e6d304d4bd4538baf40b0a3df7abf6921fa6e 100644
--- a/webrtc/base/networkroute.h
+++ b/webrtc/base/networkroute.h
@@ -30,10 +30,11 @@
last_sent_packet_id(-1) {}
// The route is connected if the local and remote network ids are provided.
- NetworkRoute(uint16_t local_net_id,
+ NetworkRoute(bool connected,
+ uint16_t local_net_id,
uint16_t remote_net_id,
int last_packet_id)
- : connected(true),
+ : connected(connected),
local_network_id(local_net_id),
remote_network_id(remote_net_id),
last_sent_packet_id(last_packet_id) {}
« no previous file with comments | « no previous file | webrtc/call/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698