OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // asking the user to start a renderer process independently rather | 67 // asking the user to start a renderer process independently rather |
68 // than launching the renderer itself. (This is useful for debugging.) | 68 // than launching the renderer itself. (This is useful for debugging.) |
69 const wchar_t kBrowserStartRenderersManually[] = L"start-renderers-manually"; | 69 const wchar_t kBrowserStartRenderersManually[] = L"start-renderers-manually"; |
70 | 70 |
71 // Causes the process to run as renderer instead of as browser. | 71 // Causes the process to run as renderer instead of as browser. |
72 const wchar_t kRendererProcess[] = L"renderer"; | 72 const wchar_t kRendererProcess[] = L"renderer"; |
73 | 73 |
74 // Path to the exe to run for the renderer subprocess | 74 // Path to the exe to run for the renderer subprocess |
75 const wchar_t kRendererPath[] = L"renderer-path"; | 75 const wchar_t kRendererPath[] = L"renderer-path"; |
76 | 76 |
77 // Causes the process to run as plugin host | 77 // Causes the process to run as a plugin subprocess. |
78 const wchar_t kPluginProcess[] = L"plugin"; | 78 const wchar_t kPluginProcess[] = L"plugin"; |
79 | 79 |
| 80 // Causes the process to run as a worker subprocess. |
| 81 const wchar_t kWorkerProcess[] = L"worker"; |
| 82 |
80 // Runs the renderer and plugins in the same process as the browser | 83 // Runs the renderer and plugins in the same process as the browser |
81 const wchar_t kSingleProcess[] = L"single-process"; | 84 const wchar_t kSingleProcess[] = L"single-process"; |
82 | 85 |
83 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own | 86 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own |
84 // renderer process. We default to using a renderer process for each | 87 // renderer process. We default to using a renderer process for each |
85 // site instance (i.e., group of pages from the same registered domain with | 88 // site instance (i.e., group of pages from the same registered domain with |
86 // script connections to each other). | 89 // script connections to each other). |
87 const wchar_t kProcessPerTab[] = L"process-per-tab"; | 90 const wchar_t kProcessPerTab[] = L"process-per-tab"; |
88 | 91 |
89 // Runs a single process for each site (i.e., group of pages from the same | 92 // Runs a single process for each site (i.e., group of pages from the same |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 395 |
393 // On POSIX only: the contents of this flag are prepended to the renderer | 396 // On POSIX only: the contents of this flag are prepended to the renderer |
394 // command line. (Useful values might be "valgrind" or "gdb --args") | 397 // command line. (Useful values might be "valgrind" or "gdb --args") |
395 const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix"; | 398 const wchar_t kRendererCmdPrefix[] = L"renderer-cmd-prefix"; |
396 | 399 |
397 // On POSIX only: use FIFO for IPC channels so that "unrelated" process | 400 // On POSIX only: use FIFO for IPC channels so that "unrelated" process |
398 // can connect to a channel, provided it knows its name. For debugging purposes. | 401 // can connect to a channel, provided it knows its name. For debugging purposes. |
399 const wchar_t kIPCUseFIFO[] = L"ipc-use-fifo"; | 402 const wchar_t kIPCUseFIFO[] = L"ipc-use-fifo"; |
400 | 403 |
401 } // namespace switches | 404 } // namespace switches |
OLD | NEW |