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 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 906 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
907 // ignores this switch on its stable and beta channels. | 907 // ignores this switch on its stable and beta channels. |
908 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 908 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
909 | 909 |
910 // Disables HW encode acceleration for WebRTC. | 910 // Disables HW encode acceleration for WebRTC. |
911 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 911 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
912 const char kDisableWebRtcHWEncodingVPx[] = "vpx"; | 912 const char kDisableWebRtcHWEncodingVPx[] = "vpx"; |
913 const char kDisableWebRtcHWEncodingH264[] = "h264"; | 913 const char kDisableWebRtcHWEncodingH264[] = "h264"; |
914 const char kDisableWebRtcHWEncodingNone[] = "none"; | 914 const char kDisableWebRtcHWEncodingNone[] = "none"; |
915 | 915 |
916 // Enables H264 HW encode acceleration for WebRTC. | |
917 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; | |
918 | |
919 // Enables Origin header in Stun messages for WebRTC. | 916 // Enables Origin header in Stun messages for WebRTC. |
920 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; | 917 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; |
921 | 918 |
922 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is | 919 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is |
923 // not under finch and becomes the default. | 920 // not under finch and becomes the default. |
924 const char kEnforceWebRtcIPPermissionCheck[] = | 921 const char kEnforceWebRtcIPPermissionCheck[] = |
925 "enforce-webrtc-ip-permission-check"; | 922 "enforce-webrtc-ip-permission-check"; |
926 | 923 |
927 // Override WebRTC IP handling policy to mimic the behavior when WebRTC IP | 924 // Override WebRTC IP handling policy to mimic the behavior when WebRTC IP |
928 // handling policy is specified in Preferences. | 925 // handling policy is specified in Preferences. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1066 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1070 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1067 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1071 | 1068 |
1072 // Specifies the testcase used by the IPC fuzzer. | 1069 // Specifies the testcase used by the IPC fuzzer. |
1073 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1070 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1074 #endif | 1071 #endif |
1075 | 1072 |
1076 // Don't dump stuff here, follow the same order as the header. | 1073 // Don't dump stuff here, follow the same order as the header. |
1077 | 1074 |
1078 } // namespace switches | 1075 } // namespace switches |
OLD | NEW |