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

Unified Diff: third_party/leveldatabase/env_chromium.cc

Issue 1023773003: IndexedDB: Enable leveldb log reuse on Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_database.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/env_chromium.cc
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
index 42bdb42269373db25644e415dc94d8b5e907741b..65d179ac498d2d7ee668af595f1cb8bf16d5824b 100644
--- a/third_party/leveldatabase/env_chromium.cc
+++ b/third_party/leveldatabase/env_chromium.cc
@@ -896,14 +896,6 @@ Status ChromiumEnv::NewWritableFile(const std::string& fname,
Status ChromiumEnv::NewAppendableFile(const std::string& fname,
leveldb::WritableFile** result) {
-#if defined(OS_CHROMEOS)
- // Disabled until crbug.com/460568 is fixed. Technically this method shouldn't
- // be called if reuse_logs is false, but a leveldb bug (fixed, but not yet in
- // Chrome) still calls this function. Using default leveldb Env implementation
- // to workaround this bug.
- return Env::NewAppendableFile(fname, result);
-#endif
-
*result = NULL;
FilePath path = FilePath::FromUTF8Unsafe(fname);
scoped_ptr<base::File> f(new base::File(
« no previous file with comments | « content/browser/indexed_db/leveldb/leveldb_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698