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

Unified Diff: base/prefs/json_pref_store.cc

Issue 169323003: Implementation of leveldb-backed PrefStore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Close the database after each test Created 6 years, 7 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 | « no previous file | base/prefs/persistent_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/json_pref_store.cc
diff --git a/base/prefs/json_pref_store.cc b/base/prefs/json_pref_store.cc
index e99d64fc40c68525881ea808802708dd38c3f3be..a6c236261ba5d4426f2cff61bf398b8330302a9c 100644
--- a/base/prefs/json_pref_store.cc
+++ b/base/prefs/json_pref_store.cc
@@ -330,6 +330,11 @@ void JsonPrefStore::OnFileRead(scoped_ptr<base::Value> value,
// operation itself.
NOTREACHED();
break;
+ case PREF_READ_ERROR_LEVELDB_IO:
+ case PREF_READ_ERROR_LEVELDB_CORRUPTION_READ_ONLY:
+ case PREF_READ_ERROR_LEVELDB_CORRUPTION:
+ // These are specific to LevelDBPrefStore.
+ NOTREACHED();
case PREF_READ_ERROR_MAX_ENUM:
NOTREACHED();
break;
« no previous file with comments | « no previous file | base/prefs/persistent_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698