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

Unified Diff: webrtc/api/peerconnection.h

Issue 2089553002: Refactoring on QUIC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disable quic for review. Created 4 years, 6 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 | « no previous file | webrtc/api/peerconnection.cc » ('j') | webrtc/api/peerconnection_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/peerconnection.h
diff --git a/webrtc/api/peerconnection.h b/webrtc/api/peerconnection.h
index aba595c4bbf517d121e592f3b6b1dc5919f732a2..5207e91e136daa68ed48201a54c924fa2e477013 100644
--- a/webrtc/api/peerconnection.h
+++ b/webrtc/api/peerconnection.h
@@ -24,6 +24,10 @@
#include "webrtc/api/streamcollection.h"
#include "webrtc/api/webrtcsession.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
RtpSenderInternal* FindSenderById(const std::string& id);
@@ -399,6 +406,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;
« no previous file with comments | « no previous file | webrtc/api/peerconnection.cc » ('j') | webrtc/api/peerconnection_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698