| 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..354fef178fd3065c412e876ca6072ead73564a8f 100644
|
| --- a/webkit/fileapi/file_system_origin_database.h
|
| +++ b/webkit/fileapi/file_system_origin_database.h
|
| @@ -23,6 +23,11 @@ namespace fileapi {
|
| // the browser's FILE thread. The constructor may be used on any thread.
|
| class FileSystemOriginDatabase {
|
| public:
|
| + enum RecoveringOption {
|
| + REBUILD_ON_CORRUPTION,
|
| + LEAVE_ON_CORRUPTION,
|
| + };
|
| +
|
| struct OriginRecord {
|
| std::string origin;
|
| FilePath path;
|
| @@ -52,7 +57,7 @@ class FileSystemOriginDatabase {
|
| void DropDatabase();
|
|
|
| private:
|
| - bool Init();
|
| + bool Init(RecoveringOption recovering_option);
|
| void HandleError(const tracked_objects::Location& from_here,
|
| leveldb::Status status);
|
| bool GetLastPathNumber(int* number);
|
|
|