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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 const char kUtilityProcessRunningElevated[] = "utility-run-elevated"; | 844 const char kUtilityProcessRunningElevated[] = "utility-run-elevated"; |
845 | 845 |
846 // In debug builds, asserts that the stream of input events is valid. | 846 // In debug builds, asserts that the stream of input events is valid. |
847 const char kValidateInputEventStream[] = "validate-input-event-stream"; | 847 const char kValidateInputEventStream[] = "validate-input-event-stream"; |
848 | 848 |
849 // Will add kWaitForDebugger to every child processes. If a value is passed, it | 849 // Will add kWaitForDebugger to every child processes. If a value is passed, it |
850 // will be used as a filter to determine if the child process should have the | 850 // will be used as a filter to determine if the child process should have the |
851 // kWaitForDebugger flag passed on or not. | 851 // kWaitForDebugger flag passed on or not. |
852 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; | 852 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; |
853 | 853 |
854 // Causes the process to run as a worker subprocess. | |
855 const char kWorkerProcess[] = "worker"; | |
856 | |
857 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 854 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
858 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 855 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
859 | 856 |
860 // Causes the process to run as a renderer zygote. | 857 // Causes the process to run as a renderer zygote. |
861 const char kZygoteProcess[] = "zygote"; | 858 const char kZygoteProcess[] = "zygote"; |
862 | 859 |
863 #if defined(ENABLE_WEBRTC) | 860 #if defined(ENABLE_WEBRTC) |
864 // Disables audio processing in a MediaStreamTrack. When this flag is on, AEC, | 861 // Disables audio processing in a MediaStreamTrack. When this flag is on, AEC, |
865 // NS and AGC will be done in PeerConnection instead of MediaStreamTrack. | 862 // NS and AGC will be done in PeerConnection instead of MediaStreamTrack. |
866 const char kDisableAudioTrackProcessing[] = "disable-audio-track-processing"; | 863 const char kDisableAudioTrackProcessing[] = "disable-audio-track-processing"; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 // Enable the Win32K process mitigation policy for renderer processes which | 943 // Enable the Win32K process mitigation policy for renderer processes which |
947 // prevents them from invoking user32 and gdi32 system calls which enter | 944 // prevents them from invoking user32 and gdi32 system calls which enter |
948 // the kernel. This is only supported on Windows 8 and beyond. | 945 // the kernel. This is only supported on Windows 8 and beyond. |
949 const char kEnableWin32kRendererLockDown[] | 946 const char kEnableWin32kRendererLockDown[] |
950 = "enable_win32k_renderer_lockdown"; | 947 = "enable_win32k_renderer_lockdown"; |
951 #endif | 948 #endif |
952 | 949 |
953 // Don't dump stuff here, follow the same order as the header. | 950 // Don't dump stuff here, follow the same order as the header. |
954 | 951 |
955 } // namespace switches | 952 } // namespace switches |
OLD | NEW |