| Index: webrtc/p2p/base/packetsocketfactory.h
|
| diff --git a/webrtc/p2p/base/packetsocketfactory.h b/webrtc/p2p/base/packetsocketfactory.h
|
| index 290d9ca844b9ebcd4c92541b7e30bf2959430016..c3b24175261950bbbfdc41b521e26e20d3ac0cb7 100644
|
| --- a/webrtc/p2p/base/packetsocketfactory.h
|
| +++ b/webrtc/p2p/base/packetsocketfactory.h
|
| @@ -22,9 +22,15 @@ class AsyncResolverInterface;
|
| class PacketSocketFactory {
|
| public:
|
| enum Options {
|
| - OPT_SSLTCP = 0x01, // Pseudo-TLS.
|
| - OPT_TLS = 0x02,
|
| OPT_STUN = 0x04,
|
| +
|
| + // The TLS options below are mutually exclusive.
|
| + OPT_TLS = 0x02, // Real and secure TLS.
|
| + OPT_TLS_FAKE = 0x01, // Fake TLS with a dummy SSL handshake.
|
| + OPT_TLS_INSECURE = 0x08, // Insecure TLS without certificate validation.
|
| +
|
| + // Deprecated, use OPT_TLS_FAKE.
|
| + OPT_SSLTCP = OPT_TLS_FAKE,
|
| };
|
|
|
| PacketSocketFactory() { }
|
|
|