Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 9125015: Implement profiler log writing at shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 938
939 // Specifies a location for profiling output. This will only work if chrome has 939 // Specifies a location for profiling output. This will only work if chrome has
940 // been built with the gyp variable profiling=1. 940 // been built with the gyp variable profiling=1.
941 // 941 //
942 // {pid} if present will be replaced by the pid of the process. 942 // {pid} if present will be replaced by the pid of the process.
943 // {count} if present will be incremented each time a profile is generated 943 // {count} if present will be incremented each time a profile is generated
944 // for this process. 944 // for this process.
945 // The default is chrome-profile-{pid}. 945 // The default is chrome-profile-{pid}.
946 const char kProfilingFile[] = "profiling-file"; 946 const char kProfilingFile[] = "profiling-file";
947 947
948 // Specifies a path to output profiling information at shutdown.
949 const char kProfilingOutputFile[] = "profiling-output-file";
950
948 // Controls whether profile data is periodically flushed to a file. Normally 951 // Controls whether profile data is periodically flushed to a file. Normally
949 // the data gets written on exit but cases exist where chrome doesn't exit 952 // the data gets written on exit but cases exist where chrome doesn't exit
950 // cleanly (especially when using single-process). A time in seconds can be 953 // cleanly (especially when using single-process). A time in seconds can be
951 // specified. 954 // specified.
952 const char kProfilingFlush[] = "profiling-flush"; 955 const char kProfilingFlush[] = "profiling-flush";
953 956
954 // Specifies a custom URL for fetching NTP promo data. 957 // Specifies a custom URL for fetching NTP promo data.
955 const char kPromoServerURL[] = "promo-server-url"; 958 const char kPromoServerURL[] = "promo-server-url";
956 959
957 // Forces proxy auto-detection. 960 // Forces proxy auto-detection.
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 1359
1357 // ----------------------------------------------------------------------------- 1360 // -----------------------------------------------------------------------------
1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1361 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1359 // 1362 //
1360 // You were going to just dump your switches here, weren't you? Instead, please 1363 // You were going to just dump your switches here, weren't you? Instead, please
1361 // put them in alphabetical order above, or in order inside the appropriate 1364 // put them in alphabetical order above, or in order inside the appropriate
1362 // ifdef at the bottom. The order should match the header. 1365 // ifdef at the bottom. The order should match the header.
1363 // ----------------------------------------------------------------------------- 1366 // -----------------------------------------------------------------------------
1364 1367
1365 } // namespace switches 1368 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698