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

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

Issue 2573933002: Restore switch kDisableWebRtcHWEncoding (Closed)
Patch Set: renew comments Created 3 years, 11 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
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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
913 // kWaitForDebugger flag passed on or not. 913 // kWaitForDebugger flag passed on or not.
914 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; 914 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
915 915
916 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 916 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
917 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 917 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
918 918
919 // Causes the process to run as a renderer zygote. 919 // Causes the process to run as a renderer zygote.
920 const char kZygoteProcess[] = "zygote"; 920 const char kZygoteProcess[] = "zygote";
921 921
922 #if BUILDFLAG(ENABLE_WEBRTC) 922 #if BUILDFLAG(ENABLE_WEBRTC)
923 // Disables HW decode acceleration for WebRTC.
924 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
925
926 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 923 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
927 // ignores this switch on its stable and beta channels. 924 // ignores this switch on its stable and beta channels.
928 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 925 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
929 926
927 // Disables HW decode acceleration for WebRTC.
928 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
929
930 // Disables HW encode acceleration for WebRTC. 930 // Disables HW encode acceleration for WebRTC.
931 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
932
933 // Disables HW VP8 encode acceleration for WebRTC.
931 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding"; 934 const char kDisableWebRtcHWVP8Encoding[] = "disable-webrtc-hw-vp8-encoding";
932 935
933 // Enables Origin header in Stun messages for WebRTC. 936 // Enables Origin header in Stun messages for WebRTC.
934 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; 937 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin";
935 938
936 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is 939 // Enforce IP Permission check. TODO(guoweis): Remove this once the feature is
937 // not under finch and becomes the default. 940 // not under finch and becomes the default.
938 const char kEnforceWebRtcIPPermissionCheck[] = 941 const char kEnforceWebRtcIPPermissionCheck[] =
939 "enforce-webrtc-ip-permission-check"; 942 "enforce-webrtc-ip-permission-check";
940 943
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 // the given directory. Used primarily to gather samples for IPC fuzzing. 1090 // the given directory. Used primarily to gather samples for IPC fuzzing.
1088 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1091 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1089 1092
1090 // Specifies the testcase used by the IPC fuzzer. 1093 // Specifies the testcase used by the IPC fuzzer.
1091 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1094 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1092 #endif 1095 #endif
1093 1096
1094 // Don't dump stuff here, follow the same order as the header. 1097 // Don't dump stuff here, follow the same order as the header.
1095 1098
1096 } // namespace switches 1099 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/webrtc/peer_connection_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698