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

Side by Side Diff: webrtc/p2p/base/p2ptransportchannel.h

Issue 1577873003: Connect TurnPort and TCPPort to AsyncPacketSocket::SignalSentPacket. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Improve comments. Created 4 years, 11 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
« no previous file with comments | « no previous file | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 ProtocolType proto, 225 ProtocolType proto,
226 IceMessage* stun_msg, 226 IceMessage* stun_msg,
227 const std::string& remote_username, 227 const std::string& remote_username,
228 bool port_muxed); 228 bool port_muxed);
229 void OnPortDestroyed(PortInterface* port); 229 void OnPortDestroyed(PortInterface* port);
230 void OnRoleConflict(PortInterface* port); 230 void OnRoleConflict(PortInterface* port);
231 231
232 void OnConnectionStateChange(Connection* connection); 232 void OnConnectionStateChange(Connection* connection);
233 void OnReadPacket(Connection *connection, const char *data, size_t len, 233 void OnReadPacket(Connection *connection, const char *data, size_t len,
234 const rtc::PacketTime& packet_time); 234 const rtc::PacketTime& packet_time);
235 void OnSentPacket(PortInterface* port, const rtc::SentPacket& sent_packet); 235 void OnSentPacket(const rtc::SentPacket& sent_packet);
236 void OnReadyToSend(Connection* connection); 236 void OnReadyToSend(Connection* connection);
237 void OnConnectionDestroyed(Connection *connection); 237 void OnConnectionDestroyed(Connection *connection);
238 238
239 void OnNominated(Connection* conn); 239 void OnNominated(Connection* conn);
240 240
241 void OnMessage(rtc::Message* pmsg) override; 241 void OnMessage(rtc::Message* pmsg) override;
242 void OnSort(); 242 void OnSort();
243 void OnCheckAndPing(); 243 void OnCheckAndPing();
244 244
245 void PruneConnections(); 245 void PruneConnections();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 bool gather_continually_ = false; 296 bool gather_continually_ = false;
297 int weak_ping_delay_ = WEAK_PING_DELAY; 297 int weak_ping_delay_ = WEAK_PING_DELAY;
298 TransportChannelState state_ = TransportChannelState::STATE_INIT; 298 TransportChannelState state_ = TransportChannelState::STATE_INIT;
299 299
300 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 300 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
301 }; 301 };
302 302
303 } // namespace cricket 303 } // namespace cricket
304 304
305 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 305 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698