Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 976 | 976 |
| 977 // Specifies a location for profiling output. This will only work if chrome has | 977 // Specifies a location for profiling output. This will only work if chrome has |
| 978 // been built with the gyp variable profiling=1. | 978 // been built with the gyp variable profiling=1. |
| 979 // | 979 // |
| 980 // {pid} if present will be replaced by the pid of the process. | 980 // {pid} if present will be replaced by the pid of the process. |
| 981 // {count} if present will be incremented each time a profile is generated | 981 // {count} if present will be incremented each time a profile is generated |
| 982 // for this process. | 982 // for this process. |
| 983 // The default is chrome-profile-{pid}. | 983 // The default is chrome-profile-{pid}. |
| 984 const char kProfilingFile[] = "profiling-file"; | 984 const char kProfilingFile[] = "profiling-file"; |
| 985 | 985 |
| 986 // Specifies a path to output profiling information at shutdown. | |
|
jar (doing other things)
2012/02/08 20:34:37
Please add to the comment to distinguish from the
rlarocque
2012/02/08 23:49:44
Done, with slightly different text. I wanted to m
| |
| 987 const char kProfilingOutputFile[] = "profiling-output-file"; | |
| 988 | |
| 986 // Controls whether profile data is periodically flushed to a file. Normally | 989 // Controls whether profile data is periodically flushed to a file. Normally |
| 987 // the data gets written on exit but cases exist where chrome doesn't exit | 990 // the data gets written on exit but cases exist where chrome doesn't exit |
| 988 // cleanly (especially when using single-process). A time in seconds can be | 991 // cleanly (especially when using single-process). A time in seconds can be |
| 989 // specified. | 992 // specified. |
| 990 const char kProfilingFlush[] = "profiling-flush"; | 993 const char kProfilingFlush[] = "profiling-flush"; |
| 991 | 994 |
| 992 // Specifies a custom URL for fetching NTP promo data. | 995 // Specifies a custom URL for fetching NTP promo data. |
| 993 const char kPromoServerURL[] = "promo-server-url"; | 996 const char kPromoServerURL[] = "promo-server-url"; |
| 994 | 997 |
| 995 // Forces proxy auto-detection. | 998 // Forces proxy auto-detection. |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1390 | 1393 |
| 1391 // ----------------------------------------------------------------------------- | 1394 // ----------------------------------------------------------------------------- |
| 1392 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1395 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1393 // | 1396 // |
| 1394 // You were going to just dump your switches here, weren't you? Instead, please | 1397 // You were going to just dump your switches here, weren't you? Instead, please |
| 1395 // put them in alphabetical order above, or in order inside the appropriate | 1398 // put them in alphabetical order above, or in order inside the appropriate |
| 1396 // ifdef at the bottom. The order should match the header. | 1399 // ifdef at the bottom. The order should match the header. |
| 1397 // ----------------------------------------------------------------------------- | 1400 // ----------------------------------------------------------------------------- |
| 1398 | 1401 |
| 1399 } // namespace switches | 1402 } // namespace switches |
| OLD | NEW |