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

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

Issue 1696933003: When doing continual gathering, remove local candidates when a network is dropped. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix a type conversion error on Windows Created 4 years, 10 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 | « webrtc/base/network_unittest.cc ('k') | 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « webrtc/base/network_unittest.cc ('k') | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698