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 // third_party/WebKit/Source/WebCore/platform/Logging.cpp for a list of | |
darin (slow to review)
2011/02/15 20:54:56
this comment runs the risk of bit-rotting. if som
gavinp
2011/02/15 21:25:48
I made the comment less specific, so at least it'l
| |
1238 // available channels. | |
1239 const char kWebCoreLogChannels[] = "webcore-log-channels"; | |
1240 | |
1236 // Causes the worker process allocation to use as many processes as cores. | 1241 // Causes the worker process allocation to use as many processes as cores. |
1237 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; | 1242 const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core"; |
1238 | 1243 |
1239 // Causes workers to run together in one process, depending on their domains. | 1244 // Causes workers to run together in one process, depending on their domains. |
1240 // Note this is duplicated in webworkerclient_impl.cc | 1245 // Note this is duplicated in webworkerclient_impl.cc |
1241 const char kWebWorkerShareProcesses[] = "web-worker-share-processes"; | 1246 const char kWebWorkerShareProcesses[] = "web-worker-share-processes"; |
1242 | 1247 |
1243 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is | 1248 // 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. | 1249 // to use Chromium's network stack to fetch, and V8 to evaluate. |
1245 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; | 1250 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1416 | 1421 |
1417 // ----------------------------------------------------------------------------- | 1422 // ----------------------------------------------------------------------------- |
1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1423 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1419 // | 1424 // |
1420 // You were going to just dump your switches here, weren't you? Instead, | 1425 // 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 | 1426 // please put them in alphabetical order above, or in order inside the |
1422 // appropriate ifdef at the bottom. The order should match the header. | 1427 // appropriate ifdef at the bottom. The order should match the header. |
1423 // ----------------------------------------------------------------------------- | 1428 // ----------------------------------------------------------------------------- |
1424 | 1429 |
1425 } // namespace switches | 1430 } // namespace switches |
OLD | NEW |