OLD | NEW |
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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 #include "media/media_features.h" | 7 #include "media/media_features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 | 902 |
903 #if BUILDFLAG(ENABLE_WEBRTC) | 903 #if BUILDFLAG(ENABLE_WEBRTC) |
904 // Disables HW decode acceleration for WebRTC. | 904 // Disables HW decode acceleration for WebRTC. |
905 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 905 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
906 | 906 |
907 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 907 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
908 // ignores this switch on its stable and beta channels. | 908 // ignores this switch on its stable and beta channels. |
909 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 909 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
910 | 910 |
911 // Disables HW encode acceleration for WebRTC. | 911 // Disables HW encode acceleration for WebRTC. |
912 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 912 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding"; |
913 const char kDisableWebRtcHWEncodingVPx[] = "vpx"; | |
914 const char kDisableWebRtcHWEncodingH264[] = "h264"; | |
915 const char kDisableWebRtcHWEncodingNone[] = "none"; | |
916 | 913 |
917 // Enables Origin header in Stun messages for WebRTC. | 914 // Enables Origin header in Stun messages for WebRTC. |
918 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; | 915 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; |
919 | 916 |
920 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is | 917 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is |
921 // not under finch and becomes the default. | 918 // not under finch and becomes the default. |
922 const char kEnforceWebRtcIPPermissionCheck[] = | 919 const char kEnforceWebRtcIPPermissionCheck[] = |
923 "enforce-webrtc-ip-permission-check"; | 920 "enforce-webrtc-ip-permission-check"; |
924 | 921 |
925 // Override WebRTC IP handling policy to mimic the behavior when WebRTC IP | 922 // Override WebRTC IP handling policy to mimic the behavior when WebRTC IP |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1068 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1072 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1069 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1073 | 1070 |
1074 // Specifies the testcase used by the IPC fuzzer. | 1071 // Specifies the testcase used by the IPC fuzzer. |
1075 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1072 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1076 #endif | 1073 #endif |
1077 | 1074 |
1078 // Don't dump stuff here, follow the same order as the header. | 1075 // Don't dump stuff here, follow the same order as the header. |
1079 | 1076 |
1080 } // namespace switches | 1077 } // namespace switches |
OLD | NEW |