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

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

Issue 10805050: Chrome Performance Monitor: MetricDetails refactor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced + nit. Created 8 years, 5 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 10 // TODO(chebert): i18n on all constants.
11 extern const char kMetricNotFoundError[]; 11 extern const char kMetricNotFoundError[];
12 12
13 // Any metric that is not associated with a specific activity will use this as 13 // Any metric that is not associated with a specific activity will use this as
14 // its activity. 14 // its activity.
15 extern const char kProcessChromeAggregate[]; 15 extern const char kProcessChromeAggregate[];
16 16
17 // When you add a metric type, make sure to edit Database::InitMetricDetails 17 // Metrics keys for statistics gathering.
18 // and add an entry to the MericType enum. 18 extern const char kMetricCPUUsageName[];
19 // TODO(mwrosen): When you make real metrics, delete the sample metric. 19 extern const char kMetricCPUUsageDescription[];
20 extern const char kSampleMetricDescription[]; 20 extern const char kMetricCPUUsageUnits[];
21 extern const char kSampleMetricName[]; 21 extern const double kMetricCPUUsageTickSize;
22
23 extern const char kMetricPrivateMemoryUsageName[];
24 extern const char kMetricPrivateMemoryUsageDescription[];
25 extern const char kMetricPrivateMemoryUsageUnits[];
26 extern const double kMetricPrivateMemoryUsageTickSize;
27
22 extern const char kStateChromeVersion[]; 28 extern const char kStateChromeVersion[];
23 29
24 } // namespace performance_monitor 30 } // namespace performance_monitor
25 31
26 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_CONSTANTS_H_ 32 #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