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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 const char kProductVersion[] = "product-version"; | 839 const char kProductVersion[] = "product-version"; |
840 | 840 |
841 // Selects directory of profile to associate with the first browser launched. | 841 // Selects directory of profile to associate with the first browser launched. |
842 const char kProfileDirectory[] = "profile-directory"; | 842 const char kProfileDirectory[] = "profile-directory"; |
843 | 843 |
844 // Starts the sampling based profiler for the browser process at startup. This | 844 // Starts the sampling based profiler for the browser process at startup. This |
845 // will only work if chrome has been built with the gyp variable profiling=1. | 845 // will only work if chrome has been built with the gyp variable profiling=1. |
846 // The output will go to the value of kProfilingFile. | 846 // The output will go to the value of kProfilingFile. |
847 const char kProfilingAtStart[] = "profiling-at-start"; | 847 const char kProfilingAtStart[] = "profiling-at-start"; |
848 | 848 |
849 // Specifies a location for profiling output. This will only work if chrome has | |
850 // been built with the gyp variable profiling=1. | |
851 // | |
852 // {pid} if present will be replaced by the pid of the process. | |
853 // {count} if present will be incremented each time a profile is generated | |
854 // for this process. | |
855 // The default is chrome-profile-{pid}. | |
856 const char kProfilingFile[] = "profiling-file"; | |
857 | |
858 // Controls whether profile data is periodically flushed to a file. Normally | 849 // Controls whether profile data is periodically flushed to a file. Normally |
859 // the data gets written on exit but cases exist where chrome doesn't exit | 850 // the data gets written on exit but cases exist where chrome doesn't exit |
860 // cleanly (especially when using single-process). A time in seconds can be | 851 // cleanly (especially when using single-process). A time in seconds can be |
861 // specified. | 852 // specified. |
862 const char kProfilingFlush[] = "profiling-flush"; | 853 const char kProfilingFlush[] = "profiling-flush"; |
863 | 854 |
864 // Forces proxy auto-detection. | 855 // Forces proxy auto-detection. |
865 const char kProxyAutoDetect[] = "proxy-auto-detect"; | 856 const char kProxyAutoDetect[] = "proxy-auto-detect"; |
866 | 857 |
867 // Specifies a list of hosts for whom we bypass proxy settings and use direct | 858 // Specifies a list of hosts for whom we bypass proxy settings and use direct |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1351 | 1342 |
1352 // ----------------------------------------------------------------------------- | 1343 // ----------------------------------------------------------------------------- |
1353 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1344 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1354 // | 1345 // |
1355 // You were going to just dump your switches here, weren't you? Instead, please | 1346 // You were going to just dump your switches here, weren't you? Instead, please |
1356 // put them in alphabetical order above, or in order inside the appropriate | 1347 // put them in alphabetical order above, or in order inside the appropriate |
1357 // ifdef at the bottom. The order should match the header. | 1348 // ifdef at the bottom. The order should match the header. |
1358 // ----------------------------------------------------------------------------- | 1349 // ----------------------------------------------------------------------------- |
1359 | 1350 |
1360 } // namespace switches | 1351 } // namespace switches |
OLD | NEW |