| 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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 | 930 |
| 931 // Specifies a location for profiling output. This will only work if chrome has | 931 // Specifies a location for profiling output. This will only work if chrome has |
| 932 // been built with the gyp variable profiling=1. | 932 // been built with the gyp variable profiling=1. |
| 933 // | 933 // |
| 934 // {pid} if present will be replaced by the pid of the process. | 934 // {pid} if present will be replaced by the pid of the process. |
| 935 // {count} if present will be incremented each time a profile is generated | 935 // {count} if present will be incremented each time a profile is generated |
| 936 // for this process. | 936 // for this process. |
| 937 // The default is chrome-profile-{pid}. | 937 // The default is chrome-profile-{pid}. |
| 938 const char kProfilingFile[] = "profiling-file"; | 938 const char kProfilingFile[] = "profiling-file"; |
| 939 | 939 |
| 940 // Specifies a path for the output of task-level profiling which can be loaded |
| 941 // and viewed in about:profiler. |
| 942 const char kProfilingOutputFile[] = "profiling-output-file"; |
| 943 |
| 940 // Controls whether profile data is periodically flushed to a file. Normally | 944 // Controls whether profile data is periodically flushed to a file. Normally |
| 941 // the data gets written on exit but cases exist where chrome doesn't exit | 945 // the data gets written on exit but cases exist where chrome doesn't exit |
| 942 // cleanly (especially when using single-process). A time in seconds can be | 946 // cleanly (especially when using single-process). A time in seconds can be |
| 943 // specified. | 947 // specified. |
| 944 const char kProfilingFlush[] = "profiling-flush"; | 948 const char kProfilingFlush[] = "profiling-flush"; |
| 945 | 949 |
| 946 // Specifies a custom URL for fetching NTP promo data. | 950 // Specifies a custom URL for fetching NTP promo data. |
| 947 const char kPromoServerURL[] = "promo-server-url"; | 951 const char kPromoServerURL[] = "promo-server-url"; |
| 948 | 952 |
| 949 // Forces proxy auto-detection. | 953 // Forces proxy auto-detection. |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1333 | 1337 |
| 1334 // ----------------------------------------------------------------------------- | 1338 // ----------------------------------------------------------------------------- |
| 1335 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1339 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1336 // | 1340 // |
| 1337 // You were going to just dump your switches here, weren't you? Instead, please | 1341 // You were going to just dump your switches here, weren't you? Instead, please |
| 1338 // put them in alphabetical order above, or in order inside the appropriate | 1342 // put them in alphabetical order above, or in order inside the appropriate |
| 1339 // ifdef at the bottom. The order should match the header. | 1343 // ifdef at the bottom. The order should match the header. |
| 1340 // ----------------------------------------------------------------------------- | 1344 // ----------------------------------------------------------------------------- |
| 1341 | 1345 |
| 1342 } // namespace switches | 1346 } // namespace switches |
| OLD | NEW |