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

Side by Side Diff: chrome/browser/performance_monitor/constants.h

Issue 10815079: CPM: revised unclean exit watching, revised renderer crash test (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master (with OWNERS) for cq 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 | « no previous file | chrome/browser/performance_monitor/constants.cc » ('j') | 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 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_
7 7
8 namespace performance_monitor { 8 namespace performance_monitor {
9 9
10 // TODO(chebert): i18n on all constants. 10 // Constants which are used by the PerformanceMonitor and its related classes.
11 // The constants should be documented alongside the definition of their values
12 // in the .cc file.
13
11 extern const char kMetricNotFoundError[]; 14 extern const char kMetricNotFoundError[];
15 extern const char kProcessChromeAggregate[];
16 extern const int kGatherIntervalInMinutes;
12 17
13 // Any metric that is not associated with a specific activity will use this as 18 // State tokens
14 // its activity. 19 extern const char kStateChromeVersion[];
15 extern const char kProcessChromeAggregate[]; 20 extern const char kStateProfilePrefix[];
16 21
17 // Metrics keys for statistics gathering. 22 // Metric details
18 extern const char kMetricCPUUsageName[]; 23 extern const char kMetricCPUUsageName[];
19 extern const char kMetricCPUUsageDescription[]; 24 extern const char kMetricCPUUsageDescription[];
20 extern const char kMetricCPUUsageUnits[]; 25 extern const char kMetricCPUUsageUnits[];
21 extern const double kMetricCPUUsageTickSize; 26 extern const double kMetricCPUUsageTickSize;
22
23 extern const char kMetricPrivateMemoryUsageName[]; 27 extern const char kMetricPrivateMemoryUsageName[];
24 extern const char kMetricPrivateMemoryUsageDescription[]; 28 extern const char kMetricPrivateMemoryUsageDescription[];
25 extern const char kMetricPrivateMemoryUsageUnits[]; 29 extern const char kMetricPrivateMemoryUsageUnits[];
26 extern const double kMetricPrivateMemoryUsageTickSize; 30 extern const double kMetricPrivateMemoryUsageTickSize;
27 31
28 extern const char kStateChromeVersion[];
29
30 } // namespace performance_monitor 32 } // namespace performance_monitor
31 33
32 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ 34 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/performance_monitor/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698