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

Unified Diff: third_party/leveldatabase/env_chromium.h

Issue 803603004: IndexedDB: Reusing leveldb logs when opening database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added implementation of leveldb::Env::NewAppendableFile Created 6 years 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
Index: third_party/leveldatabase/env_chromium.h
diff --git a/third_party/leveldatabase/env_chromium.h b/third_party/leveldatabase/env_chromium.h
index 543a4fdceeb40ef055e2bd38c16c536766c74874..71b5cfe887a7006a1eda798b67416eeb20653697 100644
--- a/third_party/leveldatabase/env_chromium.h
+++ b/third_party/leveldatabase/env_chromium.h
@@ -30,6 +30,7 @@ enum MethodID {
kNewSequentialFile,
kNewRandomAccessFile,
kNewWritableFile,
+ kNewAppendableFile,
kDeleteFile,
kCreateDir,
kDeleteDir,
@@ -129,6 +130,8 @@ class ChromiumEnv : public leveldb::Env,
leveldb::RandomAccessFile** result);
virtual leveldb::Status NewWritableFile(const std::string& fname,
leveldb::WritableFile** result);
+ virtual leveldb::Status NewAppendableFile(const std::string& fname,
+ leveldb::WritableFile** result);
virtual leveldb::Status NewLogger(const std::string& fname,
leveldb::Logger** result);

Powered by Google App Engine
This is Rietveld 408576698