OLD | NEW |
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/browser/performance_monitor/constants.h" | 5 #include "chrome/browser/performance_monitor/constants.h" |
6 | 6 |
7 namespace performance_monitor { | 7 namespace performance_monitor { |
8 | 8 |
9 // The key to insert/retrieve information about the chrome version from the | 9 // The key to insert/retrieve information about the chrome version from the |
10 // database. | 10 // database. |
11 const char kStateChromeVersion[] = "chrome_version"; | |
12 const char kMetricNotFoundError[] = "Mertic details not found."; | 11 const char kMetricNotFoundError[] = "Mertic details not found."; |
13 const char kProcessChromeAggregate[] = "chrome_aggregate"; | 12 const char kProcessChromeAggregate[] = "chrome_aggregate"; |
14 const char kSampleMetricDescription[] = "A sample metric."; | 13 const char kSampleMetricDescription[] = "A sample metric."; |
15 const char kSampleMetricName[] = "SAMPLE"; | 14 const char kSampleMetricName[] = "SAMPLE"; |
16 | 15 |
| 16 // The state token to track Chrome versions in the database. |
| 17 const char kStateChromeVersion[] = "chrome_version"; |
| 18 |
| 19 // The state token to precede a profile's name, to prevent any possible naming |
| 20 // collisions in the database. |
| 21 const char kStateProfilePrefix[] = "profile"; |
| 22 |
17 } // namespace performance_monitor | 23 } // namespace performance_monitor |
OLD | NEW |