diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 23:59:14 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-03 23:59:14 +0000 |
commit | c088e3a35dcb52d62255f97307960b8ad3aaffa7 (patch) | |
tree | 4b8638a366467cbaa4915575ed47fd72b5d8a2a6 /chrome/browser/diagnostics/sqlite_diagnostics.h | |
parent | 8d469a234bbc0e1b59fb4d5315be697069f780c1 (diff) | |
download | chromium_src-c088e3a35dcb52d62255f97307960b8ad3aaffa7.zip chromium_src-c088e3a35dcb52d62255f97307960b8ad3aaffa7.tar.gz chromium_src-c088e3a35dcb52d62255f97307960b8ad3aaffa7.tar.bz2 |
Bake targeted error histogram support directly into sql::Connection.
Previously there was a convoluted template system to unique histogram names for purposes of tracking database errors separately. This was needed due to the static cache used by the histogram macros. Instead, just log the histogram manually without using a static cache.
Additionally, pull the histogram functionality right up into the connection, rather than requiring formalized delegation to get it.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11474030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/diagnostics/sqlite_diagnostics.h')
-rw-r--r-- | chrome/browser/diagnostics/sqlite_diagnostics.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/diagnostics/sqlite_diagnostics.h b/chrome/browser/diagnostics/sqlite_diagnostics.h index 395f5ba..2017c4b 100644 --- a/chrome/browser/diagnostics/sqlite_diagnostics.h +++ b/chrome/browser/diagnostics/sqlite_diagnostics.h @@ -7,16 +7,6 @@ #include "chrome/browser/diagnostics/diagnostics_test.h" -namespace sql { - class ErrorDelegate; -} - -// The following three factories create the error handlers that we use when -// issuing sqlite commands during normal browser operation. -sql::ErrorDelegate* GetErrorHandlerForThumbnailDb(); -sql::ErrorDelegate* GetErrorHandlerForTextDb(); -sql::ErrorDelegate* GetErrorHandlerForWebDb(); - // Factories for the db integrity tests we run in diagnostic mode. DiagnosticTest* MakeSqliteWebDbTest(); DiagnosticTest* MakeSqliteCookiesDbTest(); |