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

Unified Diff: sql/connection.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store.cc ('k') | sql/diagnostic_error_delegate.h » ('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 1aef0644932a2ed2c502861a05470791d4b444db..319517e978b5dd8d1f663a24c088cc99cd4eca5b 100644
--- a/sql/connection.h
+++ b/sql/connection.h
@@ -83,17 +83,17 @@ class SQL_EXPORT ErrorDelegate {
public:
virtual ~ErrorDelegate();
- // |error| is an sqlite result code as seen in sqlite\preprocessed\sqlite3.h
- // |connection| is db connection where the error happened and |stmt| is
- // our best guess at the statement that triggered the error. Do not store
- // these pointers.
+ // |error| is an sqlite result code as seen in sqlite3.h. |connection| is the
+ // db connection where the error happened and |stmt| is our best guess at the
+ // statement that triggered the error. Do not store these pointers.
//
// |stmt| MAY BE NULL if there is no statement causing the problem (i.e. on
// initialization).
//
- // If the error condition has been fixed an the original statement succesfuly
- // re-tried then returning SQLITE_OK is appropiate; otherwise is recomended
- // that you return the original |error| or the appropiae error code.
+ // If the error condition has been fixed and the original statement succesfuly
+ // re-tried then returning SQLITE_OK is appropriate; otherwise it is
+ // recommended that you return the original |error| or the appropriate error
+ // code.
virtual int OnError(int error, Connection* connection, Statement* stmt) = 0;
};
« no previous file with comments | « chrome/browser/net/sqlite_persistent_cookie_store.cc ('k') | sql/diagnostic_error_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698