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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 | 703 |
704 | 704 |
705 // Enables remote debug over HTTP on the specified port. | 705 // Enables remote debug over HTTP on the specified port. |
706 const char kRemoteDebuggingPort[] = "remote-debugging-port"; | 706 const char kRemoteDebuggingPort[] = "remote-debugging-port"; |
707 | 707 |
708 // Causes the renderer process to throw an assertion on launch. | 708 // Causes the renderer process to throw an assertion on launch. |
709 const char kRendererAssertTest[] = "renderer-assert-test"; | 709 const char kRendererAssertTest[] = "renderer-assert-test"; |
710 | 710 |
711 // On POSIX only: the contents of this flag are prepended to the renderer | 711 // On POSIX only: the contents of this flag are prepended to the renderer |
712 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 712 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
| 713 const char kChildCmdPrefix[] = "child-cmd-prefix"; |
| 714 |
| 715 // legacy switch |
713 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 716 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
714 | 717 |
715 // Causes the process to run as renderer instead of as browser. | 718 // Causes the process to run as renderer instead of as browser. |
716 const char kRendererProcess[] = "renderer"; | 719 const char kRendererProcess[] = "renderer"; |
717 | 720 |
718 // Overrides the default/calculated limit to the number of renderer processes. | 721 // Overrides the default/calculated limit to the number of renderer processes. |
719 // Very high values for this setting can lead to high memory/resource usage | 722 // Very high values for this setting can lead to high memory/resource usage |
720 // or instability. | 723 // or instability. |
721 const char kRendererProcessLimit[] = "renderer-process-limit"; | 724 const char kRendererProcessLimit[] = "renderer-process-limit"; |
722 | 725 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 #endif | 955 #endif |
953 | 956 |
954 #if defined(USE_AURA) | 957 #if defined(USE_AURA) |
955 // Forces usage of the test compositor. Needed to run ui tests on bots. | 958 // Forces usage of the test compositor. Needed to run ui tests on bots. |
956 extern const char kTestCompositor[] = "test-compositor"; | 959 extern const char kTestCompositor[] = "test-compositor"; |
957 #endif | 960 #endif |
958 | 961 |
959 // Don't dump stuff here, follow the same order as the header. | 962 // Don't dump stuff here, follow the same order as the header. |
960 | 963 |
961 } // namespace switches | 964 } // namespace switches |
OLD | NEW |