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

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

Issue 2038933002: Drop diagnostics reference to out-dated database. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops, missed the by-name histograms that were in there. Created 4 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
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 {
(...skipping 14 matching lines...) Expand all
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_OBSOLETE, 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_FAVICONS_TEST,
36 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, 36 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST,
37 DIAGNOSTICS_SQLITE_INTEGRITY_TOPSITES_TEST,
37 // Add new entries immediately above this comment. Do not reorder or renumber 38 // 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. 39 // 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, 40 // If you add an entry, you will need to also add an entry to kTestNameInfo,
40 // and to the TEST_CASES macro in the .cc. 41 // and to the TEST_CASES macro in the .cc.
41 42
42 // This must always be last in the list. 43 // This must always be last in the list.
43 DIAGNOSTICS_TEST_ID_COUNT 44 DIAGNOSTICS_TEST_ID_COUNT
44 }; 45 };
45 46
46 // Enumeration of metrics for UMA recording of recovery runs. 47 // Enumeration of metrics for UMA recording of recovery runs.
(...skipping 24 matching lines...) Expand all
71 // will be called before the localization services are initialized. 72 // will be called before the localization services are initialized.
72 std::string GetTestDescription(DiagnosticsTestId id); 73 std::string GetTestDescription(DiagnosticsTestId id);
73 74
74 // These record an UMA metric for the given test or recovery operation. 75 // These record an UMA metric for the given test or recovery operation.
75 void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result); 76 void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result);
76 void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result); 77 void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result);
77 78
78 } // namespace diagnostics 79 } // namespace diagnostics
79 80
80 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_ 81 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/diagnostics/diagnostics_metrics.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698