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

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

Issue 2573933002: Restore switch kDisableWebRtcHWEncoding (Closed)
Patch Set: Created 4 years 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
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 "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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 916
917 #if BUILDFLAG(ENABLE_WEBRTC) 917 #if BUILDFLAG(ENABLE_WEBRTC)
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 921 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
922 // ignores this switch on its stable and beta channels. 922 // ignores this switch on its stable and beta channels.
923 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 923 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
924 924
925 // Disables HW encode acceleration for WebRTC. 925 // Disables HW encode acceleration for WebRTC.
926 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
927
928 // Disables HW VP8 encode acceleration for WebRTC.
926 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding"; 929 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding";
927 930
928 // Enables Origin header in Stun messages for WebRTC. 931 // Enables Origin header in Stun messages for WebRTC.
929 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; 932 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin";
930 933
931 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is 934 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is
932 // not under finch and becomes the default. 935 // not under finch and becomes the default.
933 const char kEnforceWebRtcIPPermissionCheck[] = 936 const char kEnforceWebRtcIPPermissionCheck[] =
934 "enforce-webrtc-ip-permission-check"; 937 "enforce-webrtc-ip-permission-check";
935 938
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 // the given directory. Used primarily to gather samples for IPC fuzzing. 1085 // the given directory. Used primarily to gather samples for IPC fuzzing.
1083 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1086 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1084 1087
1085 // Specifies the testcase used by the IPC fuzzer. 1088 // Specifies the testcase used by the IPC fuzzer.
1086 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1089 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1087 #endif 1090 #endif
1088 1091
1089 // Don't dump stuff here, follow the same order as the header. 1092 // Don't dump stuff here, follow the same order as the header.
1090 1093
1091 } // namespace switches 1094 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698