Index: components/leveldb_proto/leveldb_database.h |
diff --git a/components/leveldb_proto/leveldb_database.h b/components/leveldb_proto/leveldb_database.h |
index 187a687015e42781aa64700614f88af44c211fe3..faa8199fe1dde43508d08654db7c17a0c09d6a32 100644 |
--- a/components/leveldb_proto/leveldb_database.h |
+++ b/components/leveldb_proto/leveldb_database.h |
@@ -15,6 +15,7 @@ |
namespace leveldb { |
class DB; |
+struct Options; |
} // namespace leveldb |
namespace leveldb_proto { |
@@ -27,6 +28,8 @@ class LevelDB { |
LevelDB(); |
virtual ~LevelDB(); |
+ virtual bool InitWithOptions(const base::FilePath& database_dir, |
+ const leveldb::Options& options); |
virtual bool Init(const base::FilePath& database_dir); |
virtual bool Save(const base::StringPairs& pairs_to_save, |
const std::vector<std::string>& keys_to_remove); |