Chromium Code Reviews| Index: webrtc/p2p/base/transportcontroller.h |
| diff --git a/webrtc/p2p/base/transportcontroller.h b/webrtc/p2p/base/transportcontroller.h |
| index ed7216033b429d91625fd16a3c86d3a55cf9722f..d1b6a06fa39b47b9ae07bb4c0768db8ed592e56f 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 set_quic() { quic_ = true; } |
| + bool quic() const { return quic_; } |
| +#endif // HAVE_QUIC |
|
pthatcher1
2016/04/12 00:13:12
These don't need to be behind HAVE_QUIC. Here and
mikescarlett
2016/04/12 19:28:17
Done.
|
| // 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 |