Chromium Code Reviews

Unified Diff: webrtc/p2p/base/p2ptransportchannel.h

Issue 1803063004: Reset the BWE when the network changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/p2p/base/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index 04bc9512690f50d16331a43d5a9fd1acba8aabb8..9043a0a788d14356f426e4108146ff852ec27b0f 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -203,6 +203,8 @@ class P2PTransportChannel : public TransportChannelImpl,
void RequestSort();
void SortConnections();
void SwitchBestConnectionTo(Connection* conn);
+ bool NetworkChanged(const Connection* old_conn,
+ const Connection* new_conn) const;
void UpdateState();
void HandleAllTimedOut();
void MaybeStopPortAllocatorSessions();

Powered by Google App Engine