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

Side by Side Diff: chrome/browser/diagnostics/diagnostics_metrics.h

Issue 316063003: Remove recovery diagnostics for the archived history database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updates test constants. Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/diagnostics/diagnostics_metrics.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_ 5 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_
6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_ 6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace diagnostics { 10 namespace diagnostics {
11 11
12 // Test IDs used to indicate in UMA stats which diagnostics fail, and also to 12 // Test IDs used to indicate in UMA stats which diagnostics fail, and also to
13 // look up string identifiers for tests. If you add an ID here, you will also 13 // look up string identifiers for tests. If you add an ID here, you will also
14 // need to add corresponding strings to several things in the .cc file. 14 // need to add corresponding strings to several things in the .cc file.
15 enum DiagnosticsTestId { 15 enum DiagnosticsTestId {
16 DIAGNOSTICS_CONFLICTING_DLLS_TEST, 16 DIAGNOSTICS_CONFLICTING_DLLS_TEST,
17 DIAGNOSTICS_DISK_SPACE_TEST, 17 DIAGNOSTICS_DISK_SPACE_TEST,
18 DIAGNOSTICS_INSTALL_TYPE_TEST, 18 DIAGNOSTICS_INSTALL_TYPE_TEST,
19 DIAGNOSTICS_JSON_BOOKMARKS_TEST, 19 DIAGNOSTICS_JSON_BOOKMARKS_TEST,
20 DIAGNOSTICS_JSON_LOCAL_STATE_TEST, 20 DIAGNOSTICS_JSON_LOCAL_STATE_TEST,
21 DIAGNOSTICS_JSON_PREFERENCES_TEST, 21 DIAGNOSTICS_JSON_PREFERENCES_TEST,
22 DIAGNOSTICS_OPERATING_SYSTEM_TEST, 22 DIAGNOSTICS_OPERATING_SYSTEM_TEST,
23 DIAGNOSTICS_PATH_DICTIONARIES_TEST, 23 DIAGNOSTICS_PATH_DICTIONARIES_TEST,
24 DIAGNOSTICS_PATH_LOCAL_STATE_TEST, 24 DIAGNOSTICS_PATH_LOCAL_STATE_TEST,
25 DIAGNOSTICS_PATH_RESOURCES_TEST, 25 DIAGNOSTICS_PATH_RESOURCES_TEST,
26 DIAGNOSTICS_PATH_USER_DATA_TEST, 26 DIAGNOSTICS_PATH_USER_DATA_TEST,
27 DIAGNOSTICS_VERSION_TEST, 27 DIAGNOSTICS_VERSION_TEST,
28 DIAGNOSTICS_SQLITE_INTEGRITY_APP_CACHE_TEST, 28 DIAGNOSTICS_SQLITE_INTEGRITY_APP_CACHE_TEST,
29 DIAGNOSTICS_SQLITE_INTEGRITY_ARCHIVED_HISTORY_TEST, 29 DIAGNOSTICS_SQLITE_INTEGRITY_ARCHIVED_HISTORY_TEST_OBSOLETE,
30 DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST, 30 DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST,
31 DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST, 31 DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST,
32 DIAGNOSTICS_SQLITE_INTEGRITY_HISTORY_TEST, 32 DIAGNOSTICS_SQLITE_INTEGRITY_HISTORY_TEST,
33 DIAGNOSTICS_SQLITE_INTEGRITY_NSS_CERT_TEST, 33 DIAGNOSTICS_SQLITE_INTEGRITY_NSS_CERT_TEST,
34 DIAGNOSTICS_SQLITE_INTEGRITY_NSS_KEY_TEST, 34 DIAGNOSTICS_SQLITE_INTEGRITY_NSS_KEY_TEST,
35 DIAGNOSTICS_SQLITE_INTEGRITY_THUMBNAILS_TEST, 35 DIAGNOSTICS_SQLITE_INTEGRITY_THUMBNAILS_TEST,
36 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, 36 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST,
37 // Add new entries immediately above this comment. Do not reorder or renumber 37 // Add new entries immediately above this comment. Do not reorder or renumber
38 // the entries, as they are tied to historical enum values in the UMA stats. 38 // the entries, as they are tied to historical enum values in the UMA stats.
39 // If you add an entry, you will need to also add an entry to kTestNameInfo, 39 // If you add an entry, you will need to also add an entry to kTestNameInfo,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // will be called before the localization services are initialized. 71 // will be called before the localization services are initialized.
72 std::string GetTestDescription(DiagnosticsTestId id); 72 std::string GetTestDescription(DiagnosticsTestId id);
73 73
74 // These record an UMA metric for the given test or recovery operation. 74 // These record an UMA metric for the given test or recovery operation.
75 void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result); 75 void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result);
76 void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result); 76 void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result);
77 77
78 } // namespace diagnostics 78 } // namespace diagnostics
79 79
80 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_ 80 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/diagnostics/diagnostics_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698