Index: chrome/browser/history/thumbnail_database.cc |
diff --git a/chrome/browser/history/thumbnail_database.cc b/chrome/browser/history/thumbnail_database.cc |
index faee69d07dfac1b14bc2c59ee48f19d8663da129..fe6e34f29bd212be85d209a98ab0b65842112e30 100644 |
--- a/chrome/browser/history/thumbnail_database.cc |
+++ b/chrome/browser/history/thumbnail_database.cc |
@@ -531,6 +531,7 @@ void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) { |
RecordRecoveryEvent(RECOVERY_EVENT_FAILED_FAVICONS_INSERT); |
return; |
} |
+ favicons_rows_recovered = recovery->db()->GetLastChangeCount(); |
} |
// Setup favicons_bitmaps table. |
@@ -567,6 +568,7 @@ void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) { |
RecordRecoveryEvent(RECOVERY_EVENT_FAILED_FAVICON_BITMAPS_INSERT); |
return; |
} |
+ favicon_bitmaps_rows_recovered = recovery->db()->GetLastChangeCount(); |
} |
// Setup icon_mapping table. |
@@ -598,6 +600,7 @@ void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) { |
RecordRecoveryEvent(RECOVERY_EVENT_FAILED_ICON_MAPPING_INSERT); |
return; |
} |
+ icon_mapping_rows_recovered = recovery->db()->GetLastChangeCount(); |
} |
// TODO(shess): Is it possible/likely to have broken foreign-key |