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

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

Issue 845223002: Removing --renderer-assert-test command-line flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors Created 5 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('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 "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 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 // Enables more web features over insecure connections. Designed to be used 653 // Enables more web features over insecure connections. Designed to be used
654 // for testing purposes only. 654 // for testing purposes only.
655 const char kReduceSecurityForTesting[] = "reduce-security-for-testing"; 655 const char kReduceSecurityForTesting[] = "reduce-security-for-testing";
656 656
657 // Register Pepper plugins (see pepper_plugin_list.cc for its format). 657 // Register Pepper plugins (see pepper_plugin_list.cc for its format).
658 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; 658 const char kRegisterPepperPlugins[] = "register-pepper-plugins";
659 659
660 // Enables remote debug over HTTP on the specified port. 660 // Enables remote debug over HTTP on the specified port.
661 const char kRemoteDebuggingPort[] = "remote-debugging-port"; 661 const char kRemoteDebuggingPort[] = "remote-debugging-port";
662 662
663 // Causes the renderer process to throw an assertion on launch.
664 const char kRendererAssertTest[] = "renderer-assert-test";
665
666 // On POSIX only: the contents of this flag are prepended to the renderer 663 // On POSIX only: the contents of this flag are prepended to the renderer
667 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 664 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
668 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 665 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
669 666
670 // Causes the process to run as renderer instead of as browser. 667 // Causes the process to run as renderer instead of as browser.
671 const char kRendererProcess[] = "renderer"; 668 const char kRendererProcess[] = "renderer";
672 669
673 // Overrides the default/calculated limit to the number of renderer processes. 670 // Overrides the default/calculated limit to the number of renderer processes.
674 // Very high values for this setting can lead to high memory/resource usage 671 // Very high values for this setting can lead to high memory/resource usage
675 // or instability. 672 // or instability.
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 964 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
968 return false; 965 return false;
969 // Default. 966 // Default.
970 return group_name == "Enabled"; 967 return group_name == "Enabled";
971 } 968 }
972 #endif 969 #endif
973 970
974 // Don't dump stuff here, follow the same order as the header. 971 // Don't dump stuff here, follow the same order as the header.
975 972
976 } // namespace switches 973 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698