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

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

Issue 2384163002: Add a --no-zygote command line flag (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | 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 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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 // Mutes audio sent to the audio device so it is not audible during 659 // Mutes audio sent to the audio device so it is not audible during
660 // automated testing. 660 // automated testing.
661 const char kMuteAudio[] = "mute-audio"; 661 const char kMuteAudio[] = "mute-audio";
662 662
663 // Don't send HTTP-Referer headers. 663 // Don't send HTTP-Referer headers.
664 const char kNoReferrers[] = "no-referrers"; 664 const char kNoReferrers[] = "no-referrers";
665 665
666 // Disables the sandbox for all process types that are normally sandboxed. 666 // Disables the sandbox for all process types that are normally sandboxed.
667 const char kNoSandbox[] = "no-sandbox"; 667 const char kNoSandbox[] = "no-sandbox";
668 668
669 // Disables the use of a zygote process for forking child processes. Instead,
670 // child processes will be forked and exec'd directly.
Charlie Reis 2016/10/03 18:46:10 Please mention the --no-sandbox dependency here.
Sami 2016/10/04 10:40:37 Good idea, done.
671 const char kNoZygote[] = "no-zygote";
672
669 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms. 673 // Enable or disable appcontainer/lowbox for renderer on Win8+ platforms.
670 const char kEnableAppContainer[] = "enable-appcontainer"; 674 const char kEnableAppContainer[] = "enable-appcontainer";
671 const char kDisableAppContainer[] = "disable-appcontainer"; 675 const char kDisableAppContainer[] = "disable-appcontainer";
672 676
673 // Number of worker threads used to rasterize content. 677 // Number of worker threads used to rasterize content.
674 const char kNumRasterThreads[] = "num-raster-threads"; 678 const char kNumRasterThreads[] = "num-raster-threads";
675 679
676 // Override the behavior of plugin throttling for testing. 680 // Override the behavior of plugin throttling for testing.
677 // By default the throttler is only enabled for a hard-coded list of plugins. 681 // By default the throttler is only enabled for a hard-coded list of plugins.
678 // Set the value to 'always' to always throttle every plugin instance. 682 // Set the value to 'always' to always throttle every plugin instance.
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 // the given directory. Used primarily to gather samples for IPC fuzzing. 1080 // the given directory. Used primarily to gather samples for IPC fuzzing.
1077 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1081 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1078 1082
1079 // Specifies the testcase used by the IPC fuzzer. 1083 // Specifies the testcase used by the IPC fuzzer.
1080 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1084 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1081 #endif 1085 #endif
1082 1086
1083 // Don't dump stuff here, follow the same order as the header. 1087 // Don't dump stuff here, follow the same order as the header.
1084 1088
1085 } // namespace switches 1089 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698