diff options
Diffstat (limited to 'chrome/browser/diagnostics/sqlite_diagnostics.h')
| -rw-r--r-- | chrome/browser/diagnostics/sqlite_diagnostics.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/chrome/browser/diagnostics/sqlite_diagnostics.h b/chrome/browser/diagnostics/sqlite_diagnostics.h index ee1a7f1..1618a07 100644 --- a/chrome/browser/diagnostics/sqlite_diagnostics.h +++ b/chrome/browser/diagnostics/sqlite_diagnostics.h @@ -5,18 +5,25 @@ #ifndef CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_ #define CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_ +#include "chrome/browser/diagnostics/diagnostics_test.h" + namespace sql { class ErrorDelegate; } +// The following five factories create the error handlers that we use when +// issuing sqlite commands during normal browser operation. sql::ErrorDelegate* GetErrorHandlerForCookieDb(); - sql::ErrorDelegate* GetErrorHandlerForHistoryDb(); - sql::ErrorDelegate* GetErrorHandlerForThumbnailDb(); - sql::ErrorDelegate* GetErrorHandlerForTextDb(); - sql::ErrorDelegate* GetErrorHandlerForWebDb(); +// Factories for the db integrity tests we run in diagnostic mode. +DiagnosticTest* MakeSqliteWebDbTest(); +DiagnosticTest* MakeSqliteCookiesDbTest(); +DiagnosticTest* MakeSqliteHistoryDbTest(); +DiagnosticTest* MakeSqliteArchivedHistoryDbTest(); +DiagnosticTest* MakeSqliteThumbnailsDbTest(); + #endif // CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_ |
