Index: content/public/renderer/webrtc_ip_handling_policy.h |
diff --git a/content/public/renderer/webrtc_ip_handling_policy.h b/content/public/renderer/webrtc_ip_handling_policy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5a286e50d4d91520ccc1d03125a3ec125a011792 |
--- /dev/null |
+++ b/content/public/renderer/webrtc_ip_handling_policy.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_ |
+#define CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_ |
+ |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+ |
+// This is the default behavior of Chrome. Currently, WebRTC has the right to |
+// enumerate all interfaces and bind them to discover public interfaces. |
+CONTENT_EXPORT extern const char kWebRTCIPHandlingDefault[]; |
+ |
+// WebRTC should only use the default route used by http. There will be no host |
+// address discovered. |
pthatcher1
2015/10/23 17:27:29
There will be no host address discovered => This d
guoweis_left_chromium
2015/10/23 18:24:59
Done.
|
+CONTENT_EXPORT extern const char kWebRTCIPHandlingDefaultPublicInterfaceOnly[]; |
+ |
+// WebRTC should only use TCP protocol to contact peers or servers unless the |
+// proxy server supports UDP. This doesn't expose any local address either. |
pthatcher1
2015/10/23 17:27:29
local address => local addresses
pthatcher1
2015/10/23 17:27:29
TCP protocol => TCP
guoweis_left_chromium
2015/10/23 18:24:59
Done.
|
+CONTENT_EXPORT extern const char kWebRTCIPHandlingDisableNonProxiedUdp[]; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_RENDERER_WEBRTC_IP_HANDLING_POLICY_H_ |