Index: webrtc/p2p/base/transportcontroller.h |
diff --git a/webrtc/p2p/base/transportcontroller.h b/webrtc/p2p/base/transportcontroller.h |
index 9d06823920f668d32796eba90e44394c15f16ebe..f4fa853d8b7491d0509b4ec00b3f740dd2ca9574 100644 |
--- a/webrtc/p2p/base/transportcontroller.h |
+++ b/webrtc/p2p/base/transportcontroller.h |
@@ -90,6 +90,9 @@ class TransportController : public sigslot::has_slots<>, |
virtual void DestroyTransportChannel_w(const std::string& transport_name, |
int component); |
+ void set_quic() { quic_ = true; } |
+ bool quic() const { return quic_; } |
+ |
// All of these signals are fired on the signalling thread. |
// If any transport failed => failed, |
@@ -221,6 +224,8 @@ class TransportController : public sigslot::has_slots<>, |
uint64_t ice_tiebreaker_ = rtc::CreateRandomId64(); |
rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
rtc::AsyncInvoker invoker_; |
+ // True if QUIC is used instead of DTLS. |
+ bool quic_ = false; |
}; |
} // namespace cricket |