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

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: Fixed comment 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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 // Forces a reset of the one-time-randomized FieldTrials on this client, also 1147 // Forces a reset of the one-time-randomized FieldTrials on this client, also
1148 // known as the Chrome Variations state. 1148 // known as the Chrome Variations state.
1149 const char kResetVariationState[] = "reset-variation-state"; 1149 const char kResetVariationState[] = "reset-variation-state";
1150 1150
1151 // Indicates the last session should be restored on startup. This overrides the 1151 // Indicates the last session should be restored on startup. This overrides the
1152 // preferences value and is primarily intended for testing. The value of this 1152 // preferences value and is primarily intended for testing. The value of this
1153 // switch is the number of tabs to wait until loaded before 'load completed' is 1153 // switch is the number of tabs to wait until loaded before 'load completed' is
1154 // sent to the ui_test. 1154 // sent to the ui_test.
1155 const char kRestoreLastSession[] = "restore-last-session"; 1155 const char kRestoreLastSession[] = "restore-last-session";
1156 1156
1157 // Launches PerformanceMonitor at startup, which will gather statistics about
1158 // Chrome's CPU and memory usage, page load times, startup times, and network
1159 // usage, and will also store information about events which may be of interest,
1160 // such as extension-related occurrences and crashes.
1161 const char kRunPerformanceMonitor[] = "run-performance-monitor";
1162
1157 // Disable saving pages as HTML-only, disable saving pages as HTML Complete 1163 // Disable saving pages as HTML-only, disable saving pages as HTML Complete
1158 // (with a directory of sub-resources). Enable only saving pages as MHTML. 1164 // (with a directory of sub-resources). Enable only saving pages as MHTML.
1159 // See http://crbug.com/120416 for how to remove this switch. 1165 // See http://crbug.com/120416 for how to remove this switch.
1160 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; 1166 const char kSavePageAsMHTML[] = "save-page-as-mhtml";
1161 1167
1162 // URL prefix used by safebrowsing to fetch hash, download data and report 1168 // URL prefix used by safebrowsing to fetch hash, download data and report
1163 // malware. 1169 // malware.
1164 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; 1170 const char kSbURLPrefix[] = "safebrowsing-url-prefix";
1165 1171
1166 // If present, safebrowsing only performs update when 1172 // If present, safebrowsing only performs update when
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1564 1570
1565 // ----------------------------------------------------------------------------- 1571 // -----------------------------------------------------------------------------
1566 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1572 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1567 // 1573 //
1568 // You were going to just dump your switches here, weren't you? Instead, please 1574 // You were going to just dump your switches here, weren't you? Instead, please
1569 // put them in alphabetical order above, or in order inside the appropriate 1575 // put them in alphabetical order above, or in order inside the appropriate
1570 // ifdef at the bottom. The order should match the header. 1576 // ifdef at the bottom. The order should match the header.
1571 // ----------------------------------------------------------------------------- 1577 // -----------------------------------------------------------------------------
1572 1578
1573 } // namespace switches 1579 } // 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