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

Unified Diff: components/omnibox/browser/shortcuts_database.cc

Issue 2114823003: [sql] Disable shortcuts recovery code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzsql_recover_shortcuts_review
Patch Set: Oh, and disable the unit test. Created 4 years, 6 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 | components/omnibox/browser/shortcuts_database_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/shortcuts_database.cc
diff --git a/components/omnibox/browser/shortcuts_database.cc b/components/omnibox/browser/shortcuts_database.cc
index 7a7fcddf5603d0b1f0dfdf8aa5bd7c7a4041535e..0235b0216e29209e48b259da6bc11925357a68f8 100644
--- a/components/omnibox/browser/shortcuts_database.cc
+++ b/components/omnibox/browser/shortcuts_database.cc
@@ -61,7 +61,7 @@ void DatabaseErrorCallback(sql::Connection* db,
const base::FilePath& db_path,
int extended_error,
sql::Statement* stmt) {
- if (sql::Recovery::ShouldRecover(extended_error)) {
+ if (0 && sql::Recovery::ShouldRecover(extended_error)) {
// Prevent reentrant calls.
db->reset_error_callback();
« no previous file with comments | « no previous file | components/omnibox/browser/shortcuts_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698