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

Unified Diff: webrtc/p2p/base/transportcontroller.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/p2p/base/transportcontroller.h
diff --git a/webrtc/p2p/base/transportcontroller.h b/webrtc/p2p/base/transportcontroller.h
index 9d06823920f668d32796eba90e44394c15f16ebe..8aec9730c2f2eacc7f4b3976a21ad9d6b1338816 100644
--- a/webrtc/p2p/base/transportcontroller.h
+++ b/webrtc/p2p/base/transportcontroller.h
@@ -89,6 +89,11 @@ class TransportController : public sigslot::has_slots<>,
// nothing is referencing it.
virtual void DestroyTransportChannel_w(const std::string& transport_name,
int component);
+#ifdef HAVE_QUIC
+ // Activates QUIC usage.
+ void use_quic() { quic_ = true; }
+ bool quic() const { return quic_; }
+#endif // HAVE_QUIC
// All of these signals are fired on the signalling thread.
@@ -221,6 +226,11 @@ class TransportController : public sigslot::has_slots<>,
uint64_t ice_tiebreaker_ = rtc::CreateRandomId64();
rtc::scoped_refptr<rtc::RTCCertificate> certificate_;
rtc::AsyncInvoker invoker_;
+
+#ifdef HAVE_QUIC
+ // True if QUIC is used instead of DTLS.
+ bool quic_ = false;
+#endif // HAVE_QUIC
};
} // namespace cricket

Powered by Google App Engine
This is Rietveld 408576698