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

Unified Diff: trunk/src/chrome/browser/prefs/chrome_pref_service_factory.cc

Issue 290633013: Revert 271602 "Implementation of leveldb-backed PrefStore." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/base/prefs/persistent_pref_store.h ('k') | trunk/src/chrome/browser/prefs/leveldb_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/prefs/chrome_pref_service_factory.cc
===================================================================
--- trunk/src/chrome/browser/prefs/chrome_pref_service_factory.cc (revision 271610)
+++ trunk/src/chrome/browser/prefs/chrome_pref_service_factory.cc (working copy)
@@ -313,8 +313,7 @@
// an example problem that this can cause.
// Do some diagnosis and try to avoid losing data.
int message_id = 0;
- if (error <= PersistentPrefStore::PREF_READ_ERROR_JSON_TYPE ||
- error == PersistentPrefStore::PREF_READ_ERROR_LEVELDB_CORRUPTION) {
+ if (error <= PersistentPrefStore::PREF_READ_ERROR_JSON_TYPE) {
message_id = IDS_PREFERENCES_CORRUPT_ERROR;
} else if (error != PersistentPrefStore::PREF_READ_ERROR_NO_FILE) {
message_id = IDS_PREFERENCES_UNREADABLE_ERROR;
« no previous file with comments | « trunk/src/base/prefs/persistent_pref_store.h ('k') | trunk/src/chrome/browser/prefs/leveldb_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698