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

Unified Diff: chrome/browser/diagnostics/diagnostics_controller.cc

Issue 334633006: Remove recovery diagnostics for the archived history database. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Skip reporting baseline metrics for archived database. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/diagnostics/diagnostics_controller.cc
diff --git a/chrome/browser/diagnostics/diagnostics_controller.cc b/chrome/browser/diagnostics/diagnostics_controller.cc
index 4095535a2b880df61e38d4216e7883ea743c0e4c..d73100e7b72fe36ec7eae58fb5674624a0d93f6b 100644
--- a/chrome/browser/diagnostics/diagnostics_controller.cc
+++ b/chrome/browser/diagnostics/diagnostics_controller.cc
@@ -50,6 +50,10 @@ void DiagnosticsController::RecordRegularStartup() {
// For each of the test types, record a normal start (no diagnostics run), so
// we have a common denominator.
for (int i = 0; i < DIAGNOSTICS_TEST_ID_COUNT; ++i) {
+ if (static_cast<DiagnosticsTestId>(i) ==
+ DIAGNOSTICS_SQLITE_INTEGRITY_ARCHIVED_HISTORY_TEST_OBSOLETE)
+ continue;
+
RecordUMARecoveryResult(static_cast<DiagnosticsTestId>(i), RESULT_NOT_RUN);
RecordUMATestResult(static_cast<DiagnosticsTestId>(i), RESULT_NOT_RUN);
}
« no previous file with comments | « no previous file | chrome/browser/diagnostics/diagnostics_metrics.h » ('j') | chrome/browser/diagnostics/sqlite_diagnostics.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698