Chromium Code Reviews| Index: webrtc/api/peerconnection.h |
| diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h |
| index d1676733d57cf633b306ae0d213f709da69ce66c..f28066e253181b5e06a3855c2e939d6b66eb8986 100644 |
| --- a/webrtc/api/peerconnection.h |
| +++ b/webrtc/api/peerconnection.h |
| @@ -25,6 +25,11 @@ |
| #include "webrtc/api/webrtcsession.h" |
| #include "webrtc/base/scoped_ptr.h" |
| +#ifdef USE_QUIC |
|
pthatcher1
2016/03/30 20:34:48
I think our naming convention is HAVE_QUIC, but I
mikescarlett
2016/04/05 19:58:49
I renamed it HAVE_QUIC because HAVE_SCTP is used f
|
| +#include "webrtc/api/quicdatachannel.h" |
| +#include "webrtc/api/quictransport.h" |
| +#endif // USE_QUIC |
| + |
| namespace webrtc { |
| class MediaStreamObserver; |
| @@ -387,6 +392,10 @@ 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 USE_QUIC |
| + std::vector<rtc::scoped_refptr<QuicDataChannel>> quic_data_channels_; |
| + rtc::scoped_ptr<QuicTransport> quic_transport_; |
| +#endif // USE_QUIC |
| bool remote_peer_supports_msid_ = false; |