| OLD | NEW |
| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 void OnCandidatesReady(PortAllocatorSession *session, | 220 void OnCandidatesReady(PortAllocatorSession *session, |
| 221 const std::vector<Candidate>& candidates); | 221 const std::vector<Candidate>& candidates); |
| 222 void OnCandidatesAllocationDone(PortAllocatorSession* session); | 222 void OnCandidatesAllocationDone(PortAllocatorSession* session); |
| 223 void OnUnknownAddress(PortInterface* port, | 223 void OnUnknownAddress(PortInterface* port, |
| 224 const rtc::SocketAddress& addr, | 224 const rtc::SocketAddress& addr, |
| 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 OnPortNetworkInactive(PortInterface* port); |
| 230 void OnRoleConflict(PortInterface* port); | 231 void OnRoleConflict(PortInterface* port); |
| 231 | 232 |
| 232 void OnConnectionStateChange(Connection* connection); | 233 void OnConnectionStateChange(Connection* connection); |
| 233 void OnReadPacket(Connection *connection, const char *data, size_t len, | 234 void OnReadPacket(Connection *connection, const char *data, size_t len, |
| 234 const rtc::PacketTime& packet_time); | 235 const rtc::PacketTime& packet_time); |
| 235 void OnSentPacket(const rtc::SentPacket& sent_packet); | 236 void OnSentPacket(const rtc::SentPacket& sent_packet); |
| 236 void OnReadyToSend(Connection* connection); | 237 void OnReadyToSend(Connection* connection); |
| 237 void OnConnectionDestroyed(Connection *connection); | 238 void OnConnectionDestroyed(Connection *connection); |
| 238 | 239 |
| 239 void OnNominated(Connection* conn); | 240 void OnNominated(Connection* conn); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 bool gather_continually_ = false; | 297 bool gather_continually_ = false; |
| 297 int weak_ping_delay_ = WEAK_PING_DELAY; | 298 int weak_ping_delay_ = WEAK_PING_DELAY; |
| 298 TransportChannelState state_ = TransportChannelState::STATE_INIT; | 299 TransportChannelState state_ = TransportChannelState::STATE_INIT; |
| 299 | 300 |
| 300 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); | 301 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); |
| 301 }; | 302 }; |
| 302 | 303 |
| 303 } // namespace cricket | 304 } // namespace cricket |
| 304 | 305 |
| 305 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ | 306 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ |
| OLD | NEW |