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

Side by Side Diff: webrtc/p2p/base/dtlstransportchannel.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: No changes to const parameters. 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 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } 202 }
203 203
204 // Needed by DtlsTransport. 204 // Needed by DtlsTransport.
205 TransportChannelImpl* channel() { return channel_; } 205 TransportChannelImpl* channel() { return channel_; }
206 206
207 private: 207 private:
208 void OnReadableState(TransportChannel* channel); 208 void OnReadableState(TransportChannel* channel);
209 void OnWritableState(TransportChannel* channel); 209 void OnWritableState(TransportChannel* channel);
210 void OnReadPacket(TransportChannel* channel, const char* data, size_t size, 210 void OnReadPacket(TransportChannel* channel, const char* data, size_t size,
211 const rtc::PacketTime& packet_time, int flags); 211 const rtc::PacketTime& packet_time, int flags);
212 void OnPacketSent(TransportChannel* channel,
213 const rtc::SentPacket& packet_sent);
212 void OnReadyToSend(TransportChannel* channel); 214 void OnReadyToSend(TransportChannel* channel);
213 void OnReceivingState(TransportChannel* channel); 215 void OnReceivingState(TransportChannel* channel);
214 void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err); 216 void OnDtlsEvent(rtc::StreamInterface* stream_, int sig, int err);
215 bool SetupDtls(); 217 bool SetupDtls();
216 bool MaybeStartDtls(); 218 bool MaybeStartDtls();
217 bool HandleDtlsPacket(const char* data, size_t size); 219 bool HandleDtlsPacket(const char* data, size_t size);
218 void OnGatheringState(TransportChannelImpl* channel); 220 void OnGatheringState(TransportChannelImpl* channel);
219 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); 221 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c);
220 void OnRoleConflict(TransportChannelImpl* channel); 222 void OnRoleConflict(TransportChannelImpl* channel);
221 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); 223 void OnRouteChange(TransportChannel* channel, const Candidate& candidate);
(...skipping 11 matching lines...) Expand all
233 rtc::SSLProtocolVersion ssl_max_version_; 235 rtc::SSLProtocolVersion ssl_max_version_;
234 rtc::Buffer remote_fingerprint_value_; 236 rtc::Buffer remote_fingerprint_value_;
235 std::string remote_fingerprint_algorithm_; 237 std::string remote_fingerprint_algorithm_;
236 238
237 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); 239 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper);
238 }; 240 };
239 241
240 } // namespace cricket 242 } // namespace cricket
241 243
242 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ 244 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698