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

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: comma to semicolon 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
« 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 {
(...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_THUMBNAILS_TEST_OBSOLETE,
36 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, 36 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST,
37 DIAGNOSTICS_SQLITE_INTEGRITY_FAVICONS_TEST,
38 DIAGNOSTICS_SQLITE_INTEGRITY_TOPSITES_TEST,
37 // Add new entries immediately above this comment. Do not reorder or renumber 39 // 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. 40 // 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, 41 // 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. 42 // and to the TEST_CASES macro in the .cc.
41 43
42 // This must always be last in the list. 44 // This must always be last in the list.
43 DIAGNOSTICS_TEST_ID_COUNT 45 DIAGNOSTICS_TEST_ID_COUNT
44 }; 46 };
45 47
46 // Enumeration of metrics for UMA recording of recovery runs. 48 // 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. 73 // will be called before the localization services are initialized.
72 std::string GetTestDescription(DiagnosticsTestId id); 74 std::string GetTestDescription(DiagnosticsTestId id);
73 75
74 // These record an UMA metric for the given test or recovery operation. 76 // These record an UMA metric for the given test or recovery operation.
75 void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result); 77 void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result);
76 void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result); 78 void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result);
77 79
78 } // namespace diagnostics 80 } // namespace diagnostics
79 81
80 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_ 82 #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