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

Unified Diff: webrtc/api/webrtcsession.h

Issue 1844803002: Modify PeerConnection for end-to-end QuicDataChannel usage (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Sync to upstream after landing QUIC data channel and QUIC transport CLs Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/test/peerconnectiontestwrapper.cc ('k') | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/webrtcsession.h
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h
index 970f967cb8da595197389321cff79269c8577352..d9f99f5c63dede2fe0e2d8e5dfe64bc5c8700e4b 100644
--- a/webrtc/api/webrtcsession.h
+++ b/webrtc/api/webrtcsession.h
@@ -39,6 +39,10 @@ class StatsReport;
class VideoChannel;
class VoiceChannel;
+#ifdef HAVE_QUIC
+class QuicTransportChannel;
+#endif // HAVE_QUIC
+
} // namespace cricket
namespace webrtc {
@@ -332,6 +336,10 @@ class WebRtcSession : public AudioProviderInterface,
// std::string represents the data channel label.
sigslot::signal2<const std::string&, const InternalDataChannelInit&>
SignalDataChannelOpenMessage;
+#ifdef HAVE_QUIC
+ sigslot::signal1<cricket::QuicTransportChannel*>
+ SignalQuicTransportChannelCreated;
+#endif // HAVE_QUIC
private:
// Indicates the type of SessionDescription in a call to SetLocalDescription
@@ -517,6 +525,10 @@ class WebRtcSession : public AudioProviderInterface,
// Declares the RTCP mux policy for the WebRTCSession.
PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
+#ifdef HAVE_QUIC
+ cricket::QuicTransportChannel* quic_transport_channel_ = nullptr;
+#endif // HAVE_QUIC
+
RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
};
} // namespace webrtc
« no previous file with comments | « webrtc/api/test/peerconnectiontestwrapper.cc ('k') | webrtc/api/webrtcsession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698