OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
nasko
2015/11/03 18:54:01
No (c)
guoweis_webrtc
2015/11/03 23:19:22
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_ | |
6 #define CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 | |
10 namespace content { | |
11 | |
12 // This is the default behavior of Chrome. Currently, WebRTC has the right to | |
13 // enumerate all interfaces and bind them to discover public interfaces. | |
14 CONTENT_EXPORT extern const char kWebRTCIPHandlingDefault[]; | |
15 | |
16 // WebRTC should only use the default route used by http. This also exposes the | |
17 // associated default private address. | |
18 CONTENT_EXPORT extern const char | |
19 kWebRTCIPHandlingDefaultPublicAndPrivateInterfaces[]; | |
nasko
2015/11/03 18:54:01
Does the "Default" part add meaning to the flag? I
guoweis_webrtc
2015/11/03 23:19:22
Yes, default here is the one interface chosen by O
| |
20 | |
21 // WebRTC should only use the default route used by http. This doesn't expose | |
22 // any local addresses. | |
23 CONTENT_EXPORT extern const char kWebRTCIPHandlingDefaultPublicInterfaceOnly[]; | |
24 | |
25 // WebRTC should only use TCP to contact peers or servers unless the proxy | |
26 // server supports UDP. This doesn't expose any local addresses either. | |
27 CONTENT_EXPORT extern const char kWebRTCIPHandlingDisableNonProxiedUdp[]; | |
28 | |
29 } // namespace content | |
30 | |
31 #endif // CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_ | |
OLD | NEW |