Index: webrtc/api/peerconnection.h |
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h |
index b5577157a6573344ba7adb432b71f9ee377636d7..0cce81081f82e48a604417281ddcfb8ba4a37ef4 100644 |
--- a/webrtc/api/peerconnection.h |
+++ b/webrtc/api/peerconnection.h |
@@ -26,6 +26,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 |
+ std::unique_ptr<QuicDataTransport> quic_data_transport_; |
+#endif // HAVE_QUIC |
bool remote_peer_supports_msid_ = false; |