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

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

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing updated_options Created 5 years, 2 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 ProtocolType proto, 200 ProtocolType proto,
201 IceMessage* stun_msg, 201 IceMessage* stun_msg,
202 const std::string& remote_username, 202 const std::string& remote_username,
203 bool port_muxed); 203 bool port_muxed);
204 void OnPortDestroyed(PortInterface* port); 204 void OnPortDestroyed(PortInterface* port);
205 void OnRoleConflict(PortInterface* port); 205 void OnRoleConflict(PortInterface* port);
206 206
207 void OnConnectionStateChange(Connection* connection); 207 void OnConnectionStateChange(Connection* connection);
208 void OnReadPacket(Connection *connection, const char *data, size_t len, 208 void OnReadPacket(Connection *connection, const char *data, size_t len,
209 const rtc::PacketTime& packet_time); 209 const rtc::PacketTime& packet_time);
210 void OnSentPacket(PortInterface* port, const rtc::SentPacket& sent_packet);
210 void OnReadyToSend(Connection* connection); 211 void OnReadyToSend(Connection* connection);
211 void OnConnectionDestroyed(Connection *connection); 212 void OnConnectionDestroyed(Connection *connection);
212 213
213 void OnNominated(Connection* conn); 214 void OnNominated(Connection* conn);
214 215
215 void OnMessage(rtc::Message* pmsg) override; 216 void OnMessage(rtc::Message* pmsg) override;
216 void OnSort(); 217 void OnSort();
217 void OnCheckAndPing(); 218 void OnCheckAndPing();
218 219
219 void PruneConnections(); 220 void PruneConnections();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 int receiving_timeout_; 252 int receiving_timeout_;
252 uint32_t last_ping_sent_ms_ = 0; 253 uint32_t last_ping_sent_ms_ = 0;
253 bool gather_continually_ = false; 254 bool gather_continually_ = false;
254 255
255 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 256 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
256 }; 257 };
257 258
258 } // namespace cricket 259 } // namespace cricket
259 260
260 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 261 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698