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

Unified Diff: chrome/browser/sync/util/sqlite_utils.cc

Issue 8574045: Revert 110384 - Revert 110356 - Sync: Improve handling of database load failures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/sync/syncable/directory_backing_store_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/sqlite_utils.cc
===================================================================
--- chrome/browser/sync/util/sqlite_utils.cc (revision 110386)
+++ chrome/browser/sync/util/sqlite_utils.cc (working copy)
@@ -33,9 +33,9 @@
public:
virtual int HandleError(int error, sqlite3* db) {
error_ = error;
- NOTREACHED() << "sqlite error " << error
- << " " << sqlite3_errmsg(db)
- << " db " << static_cast<void*>(db);
+ LOG(ERROR) << "sqlite error " << error
+ << " " << sqlite3_errmsg(db)
+ << " db " << static_cast<void*>(db);
return error;
}
};
« no previous file with comments | « chrome/browser/sync/syncable/directory_backing_store_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698