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

Unified Diff: sql/connection.h

Issue 2107493002: Offer user to send feedback from profile error dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting's & droger's Created 4 years, 4 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
« no previous file with comments | « ios/chrome/browser/web_data_service_factory.cc ('k') | sql/connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection.h
diff --git a/sql/connection.h b/sql/connection.h
index 12e7041c9fd2fa10f7bec8c04b182c14c5d302ad..5b8d39964ab2aa4e96312b790606c7b0bd0c8b29 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -239,6 +239,10 @@ class SQL_EXPORT Connection {
// without error and results in a single "ok" value.
bool QuickIntegrityCheck() WARN_UNUSED_RESULT;
+ // Meant to be called from a client error callback so that it's able to
+ // get diagnostic information about the database.
+ std::string GetDiagnosticInfo(int extended_error, Statement* statement);
+
// Initialization ------------------------------------------------------------
// Initializes the SQL connection for the given file, returning true if the
« no previous file with comments | « ios/chrome/browser/web_data_service_factory.cc ('k') | sql/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698