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

Unified Diff: sql/init_status.h

Issue 2225333003: Recreate the WebData database on a catastrophic SQL error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo 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 | « components/webdata/common/web_database_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/init_status.h
diff --git a/sql/init_status.h b/sql/init_status.h
index f5e29e6d93fc867bd04c1d81da0748bbcee34e6d..6eced73b6bc0770e412f527aae420854f86d8074 100644
--- a/sql/init_status.h
+++ b/sql/init_status.h
@@ -16,6 +16,9 @@ enum InitStatus {
// The database is from a future version of the app and cannot be read.
INIT_TOO_NEW,
+
+ // The database was deleted and re-opened successfully.
+ INIT_OK_WITH_DATA_LOSS,
};
} // namespace sql
« no previous file with comments | « components/webdata/common/web_database_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698