diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 21:07:27 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 21:07:27 +0000 |
commit | d3216441b7726c31fb0ae9b9d90b64421e14ca39 (patch) | |
tree | 653882df34541ec7aa37e4024f8fce27fd9ba5b6 /chrome/browser/history/download_database.cc | |
parent | ba61ace67a08e56026d2e8034d7a938d2f8e5bd6 (diff) | |
download | chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.zip chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.gz chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.bz2 |
NO CODE CHANGE.
Split the lines >80 cols. (Part 1)
Review URL: http://codereview.chromium.org/39206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/download_database.cc')
-rw-r--r-- | chrome/browser/history/download_database.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/history/download_database.cc b/chrome/browser/history/download_database.cc index 5c34ef4..996e1199 100644 --- a/chrome/browser/history/download_database.cc +++ b/chrome/browser/history/download_database.cc @@ -55,7 +55,8 @@ bool DownloadDatabase::DropDownloadTable() { 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 @@ void DownloadDatabase::RemoveDownloadsBetween(Time delete_begin, 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(); |