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

Unified Diff: third_party/leveldatabase/env_chromium.h

Issue 26045002: Don't reset the database when there was an I/O error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark enum as deprecated Created 7 years, 2 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
Index: third_party/leveldatabase/env_chromium.h
diff --git a/third_party/leveldatabase/env_chromium.h b/third_party/leveldatabase/env_chromium.h
index e84fad78285c28f1cc56ce0f16f1682d3e85e09e..eba64be8d1fcdb058882a765c7ae520c5ce2fe79 100644
--- a/third_party/leveldatabase/env_chromium.h
+++ b/third_party/leveldatabase/env_chromium.h
@@ -66,6 +66,7 @@ ErrorParsingResult ParseMethodAndError(const char* string,
MethodID* method,
int* error);
bool IndicatesDiskFull(leveldb::Status status);
+bool RecoveryCouldBeFruitful(leveldb::Status status);
std::string FilePathToString(const base::FilePath& file_path);
class UMALogger {

Powered by Google App Engine
This is Rietveld 408576698