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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 // renderer or plugin host. If it's empty, it's the browser. | 960 // renderer or plugin host. If it's empty, it's the browser. |
961 const char kProcessType[] = "type"; | 961 const char kProcessType[] = "type"; |
962 | 962 |
963 // Output the product version information and quit. Used as an internal api to | 963 // Output the product version information and quit. Used as an internal api to |
964 // detect the installed version of Chrome on Linux. | 964 // detect the installed version of Chrome on Linux. |
965 const char kProductVersion[] = "product-version"; | 965 const char kProductVersion[] = "product-version"; |
966 | 966 |
967 // Causes the process to run as a profile import subprocess. | 967 // Causes the process to run as a profile import subprocess. |
968 const char kProfileImportProcess[] = "profile-import"; | 968 const char kProfileImportProcess[] = "profile-import"; |
969 | 969 |
| 970 // Starts the sampling based profiler for the browser process at |
| 971 // startup. This will only work if chrome has been built with |
| 972 // the gyp variable profiling=1. The output will go to the value |
| 973 // of kProfilingFile. |
| 974 const char kProfilingAtStart[] = "profiling-at-start"; |
| 975 |
| 976 // Specifies a location for profiling output. This will only work if chrome |
| 977 // has been built with the gyp variable profiling=1. |
| 978 // {pid} if present will be replaced by the pid of the process. |
| 979 // {count} if present will be incremented each time a profile is generated |
| 980 // for this process. |
| 981 // The default is chrome-profile-{pid}. |
| 982 const char kProfilingFile[] = "profiling-file"; |
| 983 |
| 984 // Controls whether profile data is periodically flushed to a file. |
| 985 // Normally the data gets written on exit but cases exist where chrome |
| 986 // doesn't exit cleanly (especially when using single-process). |
| 987 // A time in seconds can be specified. |
| 988 const char kProfilingFlush[] = "profiling-flush"; |
| 989 |
970 // Force proxy auto-detection. | 990 // Force proxy auto-detection. |
971 const char kProxyAutoDetect[] = "proxy-auto-detect"; | 991 const char kProxyAutoDetect[] = "proxy-auto-detect"; |
972 | 992 |
973 // Specify a list of hosts for whom we bypass proxy settings and use direct | 993 // Specify a list of hosts for whom we bypass proxy settings and use direct |
974 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are | 994 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are |
975 // also specified. | 995 // also specified. |
976 // This is a comma separated list of bypass rules. See: | 996 // This is a comma separated list of bypass rules. See: |
977 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. | 997 // "net/proxy/proxy_bypass_rules.h" for the format of these rules. |
978 const char kProxyBypassList[] = "proxy-bypass-list"; | 998 const char kProxyBypassList[] = "proxy-bypass-list"; |
979 | 999 |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 | 1411 |
1392 // ----------------------------------------------------------------------------- | 1412 // ----------------------------------------------------------------------------- |
1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1413 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1394 // | 1414 // |
1395 // You were going to just dump your switches here, weren't you? Instead, | 1415 // You were going to just dump your switches here, weren't you? Instead, |
1396 // please put them in alphabetical order above, or in order inside the | 1416 // please put them in alphabetical order above, or in order inside the |
1397 // appropriate ifdef at the bottom. The order should match the header. | 1417 // appropriate ifdef at the bottom. The order should match the header. |
1398 // ----------------------------------------------------------------------------- | 1418 // ----------------------------------------------------------------------------- |
1399 | 1419 |
1400 } // namespace switches | 1420 } // namespace switches |
OLD | NEW |