#ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_
#define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_METRICS_H_
#include <string>
namespace diagnostics {
enum DiagnosticsTestId {
DIAGNOSTICS_CONFLICTING_DLLS_TEST,
DIAGNOSTICS_DISK_SPACE_TEST,
DIAGNOSTICS_INSTALL_TYPE_TEST,
DIAGNOSTICS_JSON_BOOKMARKS_TEST,
DIAGNOSTICS_JSON_LOCAL_STATE_TEST,
DIAGNOSTICS_JSON_PREFERENCES_TEST,
DIAGNOSTICS_OPERATING_SYSTEM_TEST,
DIAGNOSTICS_PATH_DICTIONARIES_TEST,
DIAGNOSTICS_PATH_LOCAL_STATE_TEST,
DIAGNOSTICS_PATH_RESOURCES_TEST,
DIAGNOSTICS_PATH_USER_DATA_TEST,
DIAGNOSTICS_VERSION_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_APP_CACHE_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_ARCHIVED_HISTORY_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_HISTORY_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_NSS_CERT_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_NSS_KEY_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_THUMBNAILS_TEST,
DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST,
DIAGNOSTICS_TEST_ID_COUNT
};
enum RecoveryRunMetrics {
RECOVERY_NOT_RUN,
RECOVERY_CRASH_RUN,
RECOVERY_USER_RUN,
RECOVERY_RUN_METRICS_COUNT
};
enum RunResultMetrics {
RESULT_NOT_RUN,
RESULT_SUCCESS,
RESULT_FAILURE,
RESULT_SKIPPED,
RESULT_COUNT
};
std::string GetTestName(DiagnosticsTestId id);
std::string GetTestDescription(DiagnosticsTestId id);
void RecordUMARecoveryResult(DiagnosticsTestId id, RunResultMetrics result);
void RecordUMATestResult(DiagnosticsTestId id, RunResultMetrics result);
}
#endif