Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM
[chromium-blink-merge.git] / chrome / browser / diagnostics / sqlite_diagnostics.h
blobd098e074c079ba386f04696bb7f332beeb57bb93
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_
6 #define CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_
8 #include "chrome/browser/diagnostics/diagnostics_test.h"
10 namespace diagnostics {
12 enum SQLiteIntegrityOutcomeCode {
13 DIAG_SQLITE_SUCCESS,
14 DIAG_SQLITE_FILE_NOT_FOUND_OK,
15 DIAG_SQLITE_FILE_NOT_FOUND,
16 DIAG_SQLITE_ERROR_HANDLER_CALLED,
17 DIAG_SQLITE_CANNOT_OPEN_DB,
18 DIAG_SQLITE_DB_LOCKED,
19 DIAG_SQLITE_PRAGMA_FAILED,
20 DIAG_SQLITE_DB_CORRUPTED
23 // Factories for the database integrity tests we run in diagnostic mode.
24 DiagnosticsTest* MakeSqliteCookiesDbTest();
25 DiagnosticsTest* MakeSqliteHistoryDbTest();
26 DiagnosticsTest* MakeSqliteThumbnailsDbTest();
28 #if defined(OS_CHROMEOS)
29 DiagnosticsTest* MakeSqliteNssCertDbTest();
30 DiagnosticsTest* MakeSqliteNssKeyDbTest();
31 #endif // defined(OS_CHROMEOS)
33 DiagnosticsTest* MakeSqliteWebDatabaseTrackerDbTest();
34 DiagnosticsTest* MakeSqliteWebDataDbTest();
36 } // namespace diagnostics
38 #endif // CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_