Index: components/webdata/common/web_database_backend.h |
diff --git a/components/webdata/common/web_database_backend.h b/components/webdata/common/web_database_backend.h |
index a3ae1fc8a1d3a9429f06629782adc5b1f7cf521d..fe2296f4a634636a2700b4d6fcdaf0760e59f4db 100644 |
--- a/components/webdata/common/web_database_backend.h |
+++ b/components/webdata/common/web_database_backend.h |
@@ -97,6 +97,10 @@ class WEBDATA_EXPORT WebDatabaseBackend |
// Invoked on a db error. |
void DatabaseErrorCallback(int error, sql::Statement* statement); |
+ // In the case of a catastrophic DB error, this will be called to recreate the |
+ // corrupt database. |
+ void RazeAndCloseDatabase(); |
+ |
// Commit the current transaction. |
void Commit(); |