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

Unified Diff: content/public/renderer/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: read the multiroutes options. Created 5 years, 2 months 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/renderer/webrtc_ip_handling_policy.cc
diff --git a/content/public/renderer/webrtc_ip_handling_policy.cc b/content/public/renderer/webrtc_ip_handling_policy.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a3a549cffcbf55f74e87bcf5ee021aeb783c065c
--- /dev/null
+++ b/content/public/renderer/webrtc_ip_handling_policy.cc
@@ -0,0 +1,15 @@
+// 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.
+
+#include "content/public/renderer/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 kWebRTCIPHandlingDefaultPublicInterfaceOnly[] =
+ "default_public_interface_only";
+const char kWebRTCIPHandlingDisableNonProxiedUdp[] = "disable_non_proxied_udp";
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698