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

Unified Diff: chrome/browser/history/download_database.cc

Issue 8528037: Instrument the downloads database to aid debugging 103610 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/download_database.cc
diff --git a/chrome/browser/history/download_database.cc b/chrome/browser/history/download_database.cc
index e0d068587457bc8e292b1db5afeae98c36335a2a..5256f1088a1b28345edcb1e3990341a3c1d1a9cf 100644
--- a/chrome/browser/history/download_database.cc
+++ b/chrome/browser/history/download_database.cc
@@ -234,6 +234,7 @@ void DownloadDatabase::RemoveDownloadsBetween(base::Time delete_begin,
int64 id_to_delete = dbg_statement.ColumnInt64(0);
returned_ids_.erase(id_to_delete);
}
+ CHECK(dbg_statement.Succeeded());
}
// This does not use an index. We currently aren't likely to have enough
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698