OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 // for each site instance (i.e., group of pages from the same registered | 733 // for each site instance (i.e., group of pages from the same registered |
734 // domain with script connections to each other). | 734 // domain with script connections to each other). |
735 const char kProcessPerSite[] = "process-per-site"; | 735 const char kProcessPerSite[] = "process-per-site"; |
736 | 736 |
737 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 737 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
738 // renderer process. We default to using a renderer process for each | 738 // renderer process. We default to using a renderer process for each |
739 // site instance (i.e., group of pages from the same registered domain with | 739 // site instance (i.e., group of pages from the same registered domain with |
740 // script connections to each other). | 740 // script connections to each other). |
741 const char kProcessPerTab[] = "process-per-tab"; | 741 const char kProcessPerTab[] = "process-per-tab"; |
742 | 742 |
| 743 // The value of this switch determines whether the process is started as a |
| 744 // renderer or plugin host. If it's empty, it's the browser. |
| 745 const char kProcessType[] = "type"; |
| 746 |
743 // Output the product version information and quit. Used as an internal api to | 747 // Output the product version information and quit. Used as an internal api to |
744 // detect the installed version of Chrome on Linux. | 748 // detect the installed version of Chrome on Linux. |
745 const char kProductVersion[] = "product-version"; | 749 const char kProductVersion[] = "product-version"; |
746 | 750 |
747 // Causes the process to run as a profile import subprocess. | 751 // Causes the process to run as a profile import subprocess. |
748 const char kProfileImportProcess[] = "profile-import"; | 752 const char kProfileImportProcess[] = "profile-import"; |
749 | 753 |
750 // Force proxy auto-detection. | 754 // Force proxy auto-detection. |
751 const char kProxyAutoDetect[] = "proxy-auto-detect"; | 755 const char kProxyAutoDetect[] = "proxy-auto-detect"; |
752 | 756 |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1146 | 1150 |
1147 // ----------------------------------------------------------------------------- | 1151 // ----------------------------------------------------------------------------- |
1148 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1152 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1149 // | 1153 // |
1150 // You were going to just dump your switches here, weren't you? Instead, | 1154 // You were going to just dump your switches here, weren't you? Instead, |
1151 // please put them in alphabetical order above, or in order inside the | 1155 // please put them in alphabetical order above, or in order inside the |
1152 // appropriate ifdef at the bottom. The order should match the header. | 1156 // appropriate ifdef at the bottom. The order should match the header. |
1153 // ----------------------------------------------------------------------------- | 1157 // ----------------------------------------------------------------------------- |
1154 | 1158 |
1155 } // namespace switches | 1159 } // namespace switches |
OLD | NEW |