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

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: rebase and sky comments Created 4 years, 5 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
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);
sky 2016/07/27 15:12:56 Is there a reason you don't provide the diagnostic
afakhry 2016/07/27 18:53:55 There are many SQLite errors: https://cs.chromium.
+
// Initialization ------------------------------------------------------------
// Initializes the SQL connection for the given file, returning true if the

Powered by Google App Engine
This is Rietveld 408576698