Index: webkit/fileapi/file_system_origin_database.h |
diff --git a/webkit/fileapi/file_system_origin_database.h b/webkit/fileapi/file_system_origin_database.h |
index ac729dfbf50d9433fb64328a4409510987fd96ce..c8b6a38ad55ee23c9f390be0c27234ae4c216cec 100644 |
--- a/webkit/fileapi/file_system_origin_database.h |
+++ b/webkit/fileapi/file_system_origin_database.h |
@@ -52,7 +52,8 @@ class FileSystemOriginDatabase { |
void DropDatabase(); |
private: |
- bool Init(); |
+ bool Init(bool cleanup_if_corrupted); |
+ bool CheckIfDatabaseCorrupted(const leveldb::Status& status) const; |
void HandleError(const tracked_objects::Location& from_here, |
leveldb::Status status); |
bool GetLastPathNumber(int* number); |