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

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

Issue 10827290: Add a commandline switch to run PerformanceMonitor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 // Forces a reset of the one-time-randomized FieldTrials on this client, also 1150 // Forces a reset of the one-time-randomized FieldTrials on this client, also
1151 // known as the Chrome Variations state. 1151 // known as the Chrome Variations state.
1152 const char kResetVariationState[] = "reset-variation-state"; 1152 const char kResetVariationState[] = "reset-variation-state";
1153 1153
1154 // Indicates the last session should be restored on startup. This overrides the 1154 // Indicates the last session should be restored on startup. This overrides the
1155 // preferences value and is primarily intended for testing. The value of this 1155 // preferences value and is primarily intended for testing. The value of this
1156 // switch is the number of tabs to wait until loaded before 'load completed' is 1156 // switch is the number of tabs to wait until loaded before 'load completed' is
1157 // sent to the ui_test. 1157 // sent to the ui_test.
1158 const char kRestoreLastSession[] = "restore-last-session"; 1158 const char kRestoreLastSession[] = "restore-last-session";
1159 1159
1160 // Launches PerformanceMonitor at startup, which will gather statistics about
1161 // Chrome's CPU and memory usage, page load times, startup times, and network
1162 // usage; and will also store information about events which may be of interest,
Yoyo Zhou 2012/08/13 19:37:20 nit: either change the ; to a , or change "and" to
Devlin 2012/08/14 16:13:54 Done.
1163 // such as extension-related occurences and crashes.
Yoyo Zhou 2012/08/13 19:37:20 nit: occurrences
Devlin 2012/08/14 16:13:54 Wow, I can't spell this word for the life of me...
1164 const char kRunPerformanceMonitor[] = "run-performance-monitor";
1165
1160 // Disable saving pages as HTML-only, disable saving pages as HTML Complete 1166 // Disable saving pages as HTML-only, disable saving pages as HTML Complete
1161 // (with a directory of sub-resources). Enable only saving pages as MHTML. 1167 // (with a directory of sub-resources). Enable only saving pages as MHTML.
1162 // See http://crbug.com/120416 for how to remove this switch. 1168 // See http://crbug.com/120416 for how to remove this switch.
1163 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; 1169 const char kSavePageAsMHTML[] = "save-page-as-mhtml";
1164 1170
1165 // URL prefix used by safebrowsing to fetch hash, download data and report 1171 // URL prefix used by safebrowsing to fetch hash, download data and report
1166 // malware. 1172 // malware.
1167 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; 1173 const char kSbURLPrefix[] = "safebrowsing-url-prefix";
1168 1174
1169 // If present, safebrowsing only performs update when 1175 // If present, safebrowsing only performs update when
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 1573
1568 // ----------------------------------------------------------------------------- 1574 // -----------------------------------------------------------------------------
1569 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1575 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1570 // 1576 //
1571 // You were going to just dump your switches here, weren't you? Instead, please 1577 // You were going to just dump your switches here, weren't you? Instead, please
1572 // put them in alphabetical order above, or in order inside the appropriate 1578 // put them in alphabetical order above, or in order inside the appropriate
1573 // ifdef at the bottom. The order should match the header. 1579 // ifdef at the bottom. The order should match the header.
1574 // ----------------------------------------------------------------------------- 1580 // -----------------------------------------------------------------------------
1575 1581
1576 } // namespace switches 1582 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698