| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 const char kUserScriptsDir[] = "user-scripts-dir"; | 590 const char kUserScriptsDir[] = "user-scripts-dir"; |
| 591 | 591 |
| 592 // On POSIX only: the contents of this flag are prepended to the utility | 592 // On POSIX only: the contents of this flag are prepended to the utility |
| 593 // process command line. Useful values might be "valgrind" or "xterm -e gdb | 593 // process command line. Useful values might be "valgrind" or "xterm -e gdb |
| 594 // --args". | 594 // --args". |
| 595 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; | 595 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; |
| 596 | 596 |
| 597 // Causes the process to run as a utility subprocess. | 597 // Causes the process to run as a utility subprocess. |
| 598 const char kUtilityProcess[] = "utility"; | 598 const char kUtilityProcess[] = "utility"; |
| 599 | 599 |
| 600 // The utility process is sandboxed, with access to one directory. This flag |
| 601 // specifies the directory that can be accessed. |
| 602 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; |
| 603 |
| 600 // Will add kWaitForDebugger to every child processes. If a value is passed, it | 604 // Will add kWaitForDebugger to every child processes. If a value is passed, it |
| 601 // will be used as a filter to determine if the child process should have the | 605 // will be used as a filter to determine if the child process should have the |
| 602 // kWaitForDebugger flag passed on or not. | 606 // kWaitForDebugger flag passed on or not. |
| 603 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; | 607 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; |
| 604 | 608 |
| 605 // Causes the worker process allocation to use as many processes as cores. | 609 // Causes the worker process allocation to use as many processes as cores. |
| 606 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; | 610 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; |
| 607 | 611 |
| 608 // Causes workers to run together in one process, depending on their domains. | 612 // Causes workers to run together in one process, depending on their domains. |
| 609 // Note this is duplicated in webworkerclient_impl.cc | 613 // Note this is duplicated in webworkerclient_impl.cc |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 // | 677 // |
| 674 // You were going to just dump your switches here, weren't you? Instead, | 678 // You were going to just dump your switches here, weren't you? Instead, |
| 675 // please put them in alphabetical order above, or in order inside the | 679 // please put them in alphabetical order above, or in order inside the |
| 676 // appropriate ifdef at the bottom. The order should match the header. | 680 // appropriate ifdef at the bottom. The order should match the header. |
| 677 // ----------------------------------------------------------------------------- | 681 // ----------------------------------------------------------------------------- |
| 678 | 682 |
| 679 // Enable AutoFill++. | 683 // Enable AutoFill++. |
| 680 const char kEnableNewAutoFill[] = "enable-new-autofill"; | 684 const char kEnableNewAutoFill[] = "enable-new-autofill"; |
| 681 | 685 |
| 682 } // namespace switches | 686 } // namespace switches |
| OLD | NEW |