OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1226 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; | 1226 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; |
1227 | 1227 |
1228 // Print version information and quit. | 1228 // Print version information and quit. |
1229 const char kVersion[] = "version"; | 1229 const char kVersion[] = "version"; |
1230 | 1230 |
1231 // Will add kWaitForDebugger to every child processes. If a value is passed, it | 1231 // Will add kWaitForDebugger to every child processes. If a value is passed, it |
1232 // will be used as a filter to determine if the child process should have the | 1232 // will be used as a filter to determine if the child process should have the |
1233 // kWaitForDebugger flag passed on or not. | 1233 // kWaitForDebugger flag passed on or not. |
1234 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; | 1234 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; |
1235 | 1235 |
| 1236 // Choose which logging channels in WebCore to activate. See |
| 1237 // Logging.cpp in WebKit's WebCore for a list of available channels. |
| 1238 const char kWebCoreLogChannels[] = "webcore-log-channels"; |
| 1239 |
1236 // Causes the worker process allocation to use as many processes as cores. | 1240 // Causes the worker process allocation to use as many processes as cores. |
1237 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; | 1241 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; |
1238 | 1242 |
1239 // Causes workers to run together in one process, depending on their domains. | 1243 // Causes workers to run together in one process, depending on their domains. |
1240 // Note this is duplicated in webworkerclient_impl.cc | 1244 // Note this is duplicated in webworkerclient_impl.cc |
1241 const char kWebWorkerShareProcesses[] = "web-worker-share-processes"; | 1245 const char kWebWorkerShareProcesses[] = "web-worker-share-processes"; |
1242 | 1246 |
1243 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is | 1247 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is |
1244 // to use Chromium's network stack to fetch, and V8 to evaluate. | 1248 // to use Chromium's network stack to fetch, and V8 to evaluate. |
1245 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1249 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 | 1420 |
1417 // ----------------------------------------------------------------------------- | 1421 // ----------------------------------------------------------------------------- |
1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1422 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1419 // | 1423 // |
1420 // You were going to just dump your switches here, weren't you? Instead, | 1424 // You were going to just dump your switches here, weren't you? Instead, |
1421 // please put them in alphabetical order above, or in order inside the | 1425 // please put them in alphabetical order above, or in order inside the |
1422 // appropriate ifdef at the bottom. The order should match the header. | 1426 // appropriate ifdef at the bottom. The order should match the header. |
1423 // ----------------------------------------------------------------------------- | 1427 // ----------------------------------------------------------------------------- |
1424 | 1428 |
1425 } // namespace switches | 1429 } // namespace switches |
OLD | NEW |