| Index: third_party/leveldatabase/env_chromium.cc
|
| diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
|
| index 67d005f0292e8b07929386e97707ca8a5a9be6b3..a12edf486182b04c2d58490300a67a9d72c541f0 100644
|
| --- a/third_party/leveldatabase/env_chromium.cc
|
| +++ b/third_party/leveldatabase/env_chromium.cc
|
| @@ -898,22 +898,6 @@ Status ChromiumEnv::NewWritableFile(const std::string& fname,
|
| }
|
| }
|
|
|
| -Status ChromiumEnv::NewAppendableFile(const std::string& fname,
|
| - leveldb::WritableFile** result) {
|
| - *result = NULL;
|
| - FilePath path = FilePath::FromUTF8Unsafe(fname);
|
| - scoped_ptr<base::File> f(new base::File(
|
| - path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_APPEND));
|
| - if (!f->IsValid()) {
|
| - RecordErrorAt(kNewAppendableFile);
|
| - return MakeIOError(fname, "Unable to create appendable file",
|
| - kNewAppendableFile, f->error_details());
|
| - }
|
| - *result =
|
| - new ChromiumWritableFile(fname, f.release(), this, this, make_backup_);
|
| - return Status::OK();
|
| -}
|
| -
|
| uint64_t ChromiumEnv::NowMicros() {
|
| return base::TimeTicks::Now().ToInternalValue();
|
| }
|
|
|