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

Unified Diff: webrtc/api/peerconnection.h

Issue 1844803002: Modify PeerConnection for end-to-end QuicDataChannel usage (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove webrtcsdp.cc from this CL 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
Index: webrtc/api/peerconnection.h
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
index d1676733d57cf633b306ae0d213f709da69ce66c..19965abac2c780d3d8eabe36c13f5ba2bfa49038 100644
--- a/webrtc/api/peerconnection.h
+++ b/webrtc/api/peerconnection.h
@@ -25,6 +25,10 @@
#include "webrtc/api/webrtcsession.h"
#include "webrtc/base/scoped_ptr.h"
+#ifdef HAVE_QUIC
+#include "webrtc/api/quicdatatransport.h"
+#endif // HAVE_QUIC
+
namespace webrtc {
class MediaStreamObserver;
@@ -333,6 +337,9 @@ class PeerConnection : public PeerConnectionInterface,
// webrtc::DataChannel should be opened.
void OnDataChannelOpenMessage(const std::string& label,
const InternalDataChannelInit& config);
+#ifdef HAVE_QUIC
+ void OnQuicTransportChannelCreated(cricket::QuicTransportChannel* channel);
+#endif // HAVE_QUIC
RtpSenderInterface* FindSenderById(const std::string& id);
@@ -387,6 +394,9 @@ class PeerConnection : public PeerConnectionInterface,
std::map<std::string, rtc::scoped_refptr<DataChannel>> rtp_data_channels_;
std::vector<rtc::scoped_refptr<DataChannel>> sctp_data_channels_;
std::vector<rtc::scoped_refptr<DataChannel>> sctp_data_channels_to_free_;
+#ifdef HAVE_QUIC
+ QuicDataTransport quic_data_transport_;
+#endif // HAVE_QUIC
bool remote_peer_supports_msid_ = false;

Powered by Google App Engine
This is Rietveld 408576698