| Index: components/data_reduction_proxy/core/browser/data_store_impl.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_store_impl.h b/components/data_reduction_proxy/core/browser/data_store_impl.h
|
| index b7aeca2bbd222da938d035accf31214bfd689f09..950de079ae0cb2645d47f9c1f95a3484c1a2d420 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_store_impl.h
|
| +++ b/components/data_reduction_proxy/core/browser/data_store_impl.h
|
| @@ -36,14 +36,14 @@ class DataStoreImpl : public DataStore {
|
|
|
| Status Delete(base::StringPiece key) override;
|
|
|
| + // Deletes the LevelDB and recreates it. This method is called if any DB call
|
| + // returns a |CORRUPTED| status or the database is cleared.
|
| + Status RecreateDB() override;
|
| +
|
| private:
|
| // Opens the underlying LevelDB for read and write.
|
| Status OpenDB();
|
|
|
| - // Deletes the LevelDB and recreates it. This method is called if any DB call
|
| - // returns a |CORRUPTED| status.
|
| - void RecreateDB();
|
| -
|
| // The underlying LevelDB used by this implementation.
|
| std::unique_ptr<leveldb::DB> db_;
|
|
|
|
|