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

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

Issue 1270613006: First step of passive aggressive nomination. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Addressed comments Created 5 years, 4 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/p2p/base/p2ptransportchannel.cc » ('j') | webrtc/p2p/base/port.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/p2ptransportchannel.h
diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h
index 286a547e38b70eb11e3eed97b1bae5a201f5aaf4..335ee7d166205040c24b3cb0a74dc12bec59ca97 100644
--- a/webrtc/p2p/base/p2ptransportchannel.h
+++ b/webrtc/p2p/base/p2ptransportchannel.h
@@ -211,7 +211,7 @@ class P2PTransportChannel : public TransportChannelImpl,
void OnReadyToSend(Connection* connection);
void OnConnectionDestroyed(Connection *connection);
- void OnUseCandidate(Connection* conn);
+ void OnNominated(Connection* conn);
virtual void OnMessage(rtc::Message *pmsg);
void OnSort();
@@ -219,6 +219,9 @@ class P2PTransportChannel : public TransportChannelImpl,
void OnCheckReceiving();
+ void PruneConnections();
+ Connection* best_nominated_connection() const;
+
P2PTransport* transport_;
PortAllocator *allocator_;
rtc::Thread *worker_thread_;
« no previous file with comments | « no previous file | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | webrtc/p2p/base/port.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698