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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 void OnConnectionDestroyed(Connection *connection); 214 void OnConnectionDestroyed(Connection *connection);
215 215
216 void OnUseCandidate(Connection* conn); 216 void OnUseCandidate(Connection* conn);
217 217
218 virtual void OnMessage(rtc::Message *pmsg); 218 virtual void OnMessage(rtc::Message *pmsg);
219 void OnSort(); 219 void OnSort();
220 void OnPing(); 220 void OnPing();
221 221
222 void OnCheckReceiving(); 222 void OnCheckReceiving();
223 223
224 void PruneConnections();
225 Connection* best_nominated_connection() const;
226
224 P2PTransport* transport_; 227 P2PTransport* transport_;
225 PortAllocator *allocator_; 228 PortAllocator *allocator_;
226 rtc::Thread *worker_thread_; 229 rtc::Thread *worker_thread_;
227 bool incoming_only_; 230 bool incoming_only_;
228 bool waiting_for_signaling_; 231 bool waiting_for_signaling_;
229 int error_; 232 int error_;
230 std::vector<PortAllocatorSession*> allocator_sessions_; 233 std::vector<PortAllocatorSession*> allocator_sessions_;
231 std::vector<PortInterface *> ports_; 234 std::vector<PortInterface *> ports_;
232 std::vector<Connection *> connections_; 235 std::vector<Connection *> connections_;
233 Connection* best_connection_; 236 Connection* best_connection_;
(...skipping 17 matching lines...) Expand all
251 254
252 int check_receiving_delay_; 255 int check_receiving_delay_;
253 int receiving_timeout_; 256 int receiving_timeout_;
254 257
255 DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 258 DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
256 }; 259 };
257 260
258 } // namespace cricket 261 } // namespace cricket
259 262
260 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 263 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | webrtc/p2p/base/p2ptransportchannel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698