summaryrefslogtreecommitdiffstats
path: root/content/public/common
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/common')
-rw-r--r--content/public/common/content_switches.cc10
-rw-r--r--content/public/common/content_switches.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index aa0cc6d..2a98bdb 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -840,6 +840,11 @@ const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
// Disables HW encode acceleration for WebRTC.
const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
+// Disables Multiple routes option for WebRTC. The default behavior is always
+// requesting multiple routes. This is for test cases to mimic the behavior when
+// multiple routes is disabled from user preferences.
+const char kDisableWebRtcMultipleRoutes[] = "disable-webrtc-multiple-routes";
+
// Enables negotiation of DTLS 1.2 for WebRTC.
const char kEnableWebRtcDtls12[] = "enable-webrtc-dtls12";
@@ -849,6 +854,11 @@ const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding";
// Enables Origin header in Stun messages for WebRTC.
const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin";
+// Enforce IP Permission check. TODO(guoweis): Remove this once the feature is
+// not under finch and becomes the default.
+const char kEnforceWebRtcIPPermissionCheck[] =
+ "enforce-webrtc-ip-permission-check";
+
// Renderer process parameter for WebRTC Stun probe trial to determine the
// interval. Please see SetupStunProbeTrial in
// chrome_browser_field_trials_desktop.cc for more detail.
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h
index fe4a2fc..7812dc6 100644
--- a/content/public/common/content_switches.h
+++ b/content/public/common/content_switches.h
@@ -244,9 +244,11 @@ CONTENT_EXPORT extern const char kZygoteProcess[];
CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
+CONTENT_EXPORT extern const char kDisableWebRtcMultipleRoutes[];
CONTENT_EXPORT extern const char kEnableWebRtcDtls12[];
CONTENT_EXPORT extern const char kEnableWebRtcHWH264Encoding[];
CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[];
+CONTENT_EXPORT extern const char kEnforceWebRtcIPPermissionCheck[];
CONTENT_EXPORT extern const char kWebRtcStunProbeTrialParameter[];
extern const char kWebRtcMaxCaptureFramerate[];
#endif