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

Side by Side Diff: chrome/browser/diagnostics/sqlite_diagnostics.h

Issue 11141012: Move ErrorDelegate to its own file and add static utility functions to ErrorDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win build Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/diagnostics/sqlite_diagnostics.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 (c) 2010 The Chromium Authors. All rights reserved. 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 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_SQLITE_DIAGNOSTICS_H_ 5 #ifndef CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_
6 #define CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_ 6 #define CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_
7 7
8 #include "chrome/browser/diagnostics/diagnostics_test.h" 8 #include "chrome/browser/diagnostics/diagnostics_test.h"
9 9
10 namespace sql { 10 namespace sql {
11 class ErrorDelegate; 11 class ErrorDelegate;
12 } 12 }
13 13
14 // The following five factories create the error handlers that we use when 14 // The following four factories create the error handlers that we use when
15 // issuing sqlite commands during normal browser operation. 15 // issuing sqlite commands during normal browser operation.
16 sql::ErrorDelegate* GetErrorHandlerForCookieDb();
17 sql::ErrorDelegate* GetErrorHandlerForHistoryDb(); 16 sql::ErrorDelegate* GetErrorHandlerForHistoryDb();
18 sql::ErrorDelegate* GetErrorHandlerForThumbnailDb(); 17 sql::ErrorDelegate* GetErrorHandlerForThumbnailDb();
19 sql::ErrorDelegate* GetErrorHandlerForTextDb(); 18 sql::ErrorDelegate* GetErrorHandlerForTextDb();
20 sql::ErrorDelegate* GetErrorHandlerForWebDb(); 19 sql::ErrorDelegate* GetErrorHandlerForWebDb();
21 20
22 // Factories for the db integrity tests we run in diagnostic mode. 21 // Factories for the db integrity tests we run in diagnostic mode.
23 DiagnosticTest* MakeSqliteWebDbTest(); 22 DiagnosticTest* MakeSqliteWebDbTest();
24 DiagnosticTest* MakeSqliteCookiesDbTest(); 23 DiagnosticTest* MakeSqliteCookiesDbTest();
25 DiagnosticTest* MakeSqliteHistoryDbTest(); 24 DiagnosticTest* MakeSqliteHistoryDbTest();
26 DiagnosticTest* MakeSqliteArchivedHistoryDbTest(); 25 DiagnosticTest* MakeSqliteArchivedHistoryDbTest();
27 DiagnosticTest* MakeSqliteThumbnailsDbTest(); 26 DiagnosticTest* MakeSqliteThumbnailsDbTest();
28 DiagnosticTest* MakeSqliteAppCacheDbTest(); 27 DiagnosticTest* MakeSqliteAppCacheDbTest();
29 DiagnosticTest* MakeSqliteWebDatabaseTrackerDbTest(); 28 DiagnosticTest* MakeSqliteWebDatabaseTrackerDbTest();
30 29
31 #endif // CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_ 30 #endif // CHROME_BROWSER_DIAGNOSTICS_SQLITE_DIAGNOSTICS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/diagnostics/sqlite_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698