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

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: update GYP file with right order. 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..beed096bb02ad82eaf7b1da4663489aca443b800
--- /dev/null
+++ b/content/public/common/webrtc_ip_handling_policy.cc
@@ -0,0 +1,17 @@
+// Copyright 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/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
« no previous file with comments | « content/public/common/webrtc_ip_handling_policy.h ('k') | content/renderer/media/webrtc/peer_connection_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698