Chromium Code Reviews| Index: webrtc/p2p/base/portinterface.h |
| diff --git a/webrtc/p2p/base/portinterface.h b/webrtc/p2p/base/portinterface.h |
| index e08e791f1a2ed9daec5cdd5a77771b5a33caa259..fe1a793daa25a887e96c44d7eb8482853c77c109 100644 |
| --- a/webrtc/p2p/base/portinterface.h |
| +++ b/webrtc/p2p/base/portinterface.h |
| @@ -30,8 +30,17 @@ class StunMessage; |
| enum ProtocolType { |
| PROTO_UDP, |
| PROTO_TCP, |
| - PROTO_SSLTCP, |
| - PROTO_LAST = PROTO_SSLTCP |
| + PROTO_SSLTCP, // Pseudo-TLS. |
| + PROTO_TLS, |
|
pthatcher1
2016/12/07 21:29:35
Same here with PROTO_INSECURE_TLS and PROTO_FAKE_S
hnsl1
2016/12/12 16:08:13
Acknowledged.
|
| + PROTO_LAST = PROTO_TLS |
| +}; |
| + |
| +enum ProtocolFlags { |
| + PROTO_FLAG_NONE = 0, |
| + // Disable certificate checking for TLS based protocols, making them |
| + // inherently insecure. |
| + // This is useful for protocol obfuscation, development and testing. |
| + PROTO_FLAG_INSECURE_CERT_CHECK = 0x01, |
| }; |
| // Defines the interface for a port, which represents a local communication |