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

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

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/download_database.cc
===================================================================
--- chrome/browser/history/download_database.cc (revision 10992)
+++ chrome/browser/history/download_database.cc (working copy)
@@ -55,7 +55,8 @@
SQLITE_OK;
}
-void DownloadDatabase::QueryDownloads(std::vector<DownloadCreateInfo>* results) {
+void DownloadDatabase::QueryDownloads(
+ std::vector<DownloadCreateInfo>* results) {
results->clear();
SQLITE_UNIQUE_STATEMENT(statement, GetStatementCache(),
@@ -156,7 +157,9 @@
time_t start_time = delete_begin.ToTimeT();
time_t end_time = delete_end.ToTimeT();
statement->bind_int64(0, start_time);
- statement->bind_int64(1, end_time ? end_time : std::numeric_limits<int64>::max());
+ statement->bind_int64(
+ 1,
+ end_time ? end_time : std::numeric_limits<int64>::max());
statement->bind_int(2, DownloadItem::COMPLETE);
statement->bind_int(3, DownloadItem::CANCELLED);
statement->step();
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698