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

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

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8
8 namespace switches { 9 namespace switches {
9 10
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 11 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
11 // have an effect. 0 disables MSAA. 12 // have an effect. 0 disables MSAA.
12 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; 13 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count";
13 14
14 // Enables a new tuning of the WebRTC Acoustic Echo Canceler (AEC). The new 15 // Enables a new tuning of the WebRTC Acoustic Echo Canceler (AEC). The new
15 // tuning aims at resolving two issues with the AEC: 16 // tuning aims at resolving two issues with the AEC:
16 // https://bugs.chromium.org/p/webrtc/issues/detail?id=5777 17 // https://bugs.chromium.org/p/webrtc/issues/detail?id=5777
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 // will be used as a filter to determine if the child process should have the 890 // will be used as a filter to determine if the child process should have the
890 // kWaitForDebugger flag passed on or not. 891 // kWaitForDebugger flag passed on or not.
891 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; 892 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
892 893
893 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 894 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
894 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 895 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
895 896
896 // Causes the process to run as a renderer zygote. 897 // Causes the process to run as a renderer zygote.
897 const char kZygoteProcess[] = "zygote"; 898 const char kZygoteProcess[] = "zygote";
898 899
899 #if defined(ENABLE_WEBRTC) 900 #if BUILDFLAG(ENABLE_WEBRTC)
900 // Disables HW decode acceleration for WebRTC. 901 // Disables HW decode acceleration for WebRTC.
901 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 902 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
902 903
903 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 904 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
904 // ignores this switch on its stable and beta channels. 905 // ignores this switch on its stable and beta channels.
905 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 906 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
906 907
907 // Disables HW encode acceleration for WebRTC. 908 // Disables HW encode acceleration for WebRTC.
908 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 909 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
909 const char kDisableWebRtcHWEncodingVPx[] = "vpx"; 910 const char kDisableWebRtcHWEncodingVPx[] = "vpx";
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 // the given directory. Used primarily to gather samples for IPC fuzzing. 1068 // the given directory. Used primarily to gather samples for IPC fuzzing.
1068 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1069 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1069 1070
1070 // Specifies the testcase used by the IPC fuzzer. 1071 // Specifies the testcase used by the IPC fuzzer.
1071 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1072 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1072 #endif 1073 #endif
1073 1074
1074 // 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.
1075 1076
1076 } // namespace switches 1077 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698