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

Side by Side Diff: content/public/common/content_switches.cc

Issue 37253002: Add command line flag --disable-webrtc-encryption for dev and canary channels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating how the disable information is passed to PeerConnection. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 #if defined(ENABLE_WEBRTC) 911 #if defined(ENABLE_WEBRTC)
912 // Disable WebRTC device enumeration. 912 // Disable WebRTC device enumeration.
913 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; 913 const char kDisableDeviceEnumeration[] = "disable-device-enumeration";
914 914
915 // Disable WebRTC DataChannels SCTP wire protocol support. 915 // Disable WebRTC DataChannels SCTP wire protocol support.
916 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; 916 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels";
917 917
918 // Disables HW decode acceleration for WebRTC. 918 // Disables HW decode acceleration for WebRTC.
919 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 919 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
920 920
921 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
922 // ignores this switch on its stable and beta channels.
923 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
Ami GONE FROM CHROMIUM 2013/10/24 16:37:44 I wonder if the flag should be more explicit about
Henrik Grunell 2013/10/28 15:06:57 Yes, that would be nice, but the name's going to b
924
921 // Disables HW encode acceleration for WebRTC. 925 // Disables HW encode acceleration for WebRTC.
922 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 926 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
923 927
924 // Enables WebRTC AEC recordings. 928 // Enables WebRTC AEC recordings.
925 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; 929 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings";
926 930
927 // Enable WebRTC to open TCP server sockets. 931 // Enable WebRTC to open TCP server sockets.
928 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; 932 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket";
929 933
930 // Enables VP8 HW encode acceleration for WebRTC. 934 // Enables VP8 HW encode acceleration for WebRTC.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 #endif 990 #endif
987 991
988 #if defined(USE_AURA) 992 #if defined(USE_AURA)
989 // Forces usage of the test compositor. Needed to run ui tests on bots. 993 // Forces usage of the test compositor. Needed to run ui tests on bots.
990 extern const char kTestCompositor[] = "test-compositor"; 994 extern const char kTestCompositor[] = "test-compositor";
991 #endif 995 #endif
992 996
993 // Don't dump stuff here, follow the same order as the header. 997 // Don't dump stuff here, follow the same order as the header.
994 998
995 } // namespace switches 999 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698