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

Unified Diff: content/common/web_database_observer_impl.h

Issue 9371008: Nuke from orbit corrupt websql databases. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « content/common/database_messages.h ('k') | content/common/web_database_observer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/web_database_observer_impl.h
===================================================================
--- content/common/web_database_observer_impl.h (revision 122554)
+++ content/common/web_database_observer_impl.h (working copy)
@@ -22,25 +22,27 @@
virtual void reportOpenDatabaseResult(
const WebKit::WebDatabase& database, int callsite,
- int webSqlErrorCode, int sqliteErrorCode) OVERRIDE;
+ int websql_error, int sqlite_error) OVERRIDE;
virtual void reportChangeVersionResult(
const WebKit::WebDatabase& database, int callsite,
- int webSqlErrorCode, int sqliteErrorCode) OVERRIDE;
+ int websql_error, int sqlite_error) OVERRIDE;
virtual void reportStartTransactionResult(
const WebKit::WebDatabase& database, int callsite,
- int webSqlErrorCode, int sqliteErrorCode) OVERRIDE;
+ int websql_error, int sqlite_error) OVERRIDE;
virtual void reportCommitTransactionResult(
const WebKit::WebDatabase& database, int callsite,
- int webSqlErrorCode, int sqliteErrorCode) OVERRIDE;
+ int websql_error, int sqlite_error) OVERRIDE;
virtual void reportExecuteStatementResult(
const WebKit::WebDatabase& database, int callsite,
- int webSqlErrorCode, int sqliteErrorCode) OVERRIDE;
+ int websql_error, int sqlite_error) OVERRIDE;
virtual void reportVacuumDatabaseResult(
- const WebKit::WebDatabase& database, int sqliteErrorCode) OVERRIDE;
+ const WebKit::WebDatabase& database, int sqlite_error) OVERRIDE;
void WaitForAllDatabasesToClose();
private:
+ void HandleSqliteError(const WebKit::WebDatabase& database, int error);
+
IPC::Message::Sender* sender_;
scoped_refptr<webkit_database::DatabaseConnectionsWrapper> open_connections_;
};
« no previous file with comments | « content/common/database_messages.h ('k') | content/common/web_database_observer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698