Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: content/public/common/webrtc_ip_handling_policy.cc

Issue 1413393003: Change WebRTC IP handling policy from multiple booleans to an enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another try to fix GN build Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/webrtc_ip_handling_policy.cc
diff --git a/content/public/common/webrtc_ip_handling_policy.cc b/content/public/common/webrtc_ip_handling_policy.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2f6b37a665c3e26e034e9bd335c27881df6c4974
--- /dev/null
+++ b/content/public/common/webrtc_ip_handling_policy.cc
@@ -0,0 +1,17 @@
+// 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.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/common/webrtc_ip_handling_policy.h"
+
+namespace content {
+
+// The set of strings here need to match what's specified in privacy.json.
+const char kWebRTCIPHandlingDefault[] = "default";
+const char kWebRTCIPHandlingDefaultPublicAndPrivateInterfaces[] =
+ "default_public_and_private_interfaces";
+const char kWebRTCIPHandlingDefaultPublicInterfaceOnly[] =
+ "default_public_interface_only";
+const char kWebRTCIPHandlingDisableNonProxiedUdp[] = "disable_non_proxied_udp";
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698