Index: chrome/browser/history/history.cc |
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc |
index 92f0e168dacda398d0b5dcff4aadd73db01bd8ba..a1b3f3948ad1178f2adc16a188deb7edc1543727 100644 |
--- a/chrome/browser/history/history.cc |
+++ b/chrome/browser/history/history.cc |
@@ -525,9 +525,12 @@ HistoryService::Handle HistoryService::CreateDownload( |
// 'downloads' table. |
HistoryService::Handle HistoryService::QueryDownloads( |
CancelableRequestConsumerBase* consumer, |
+ history::DownloadQueryParameters::GetNextIdThunk gnit, |
DownloadQueryCallback* callback) { |
+ history::DownloadQueryRequest* request = new history::DownloadQueryRequest(callback); |
+ request->value.get_next_id = gnit; |
return Schedule(PRIORITY_NORMAL, &HistoryBackend::QueryDownloads, consumer, |
- new history::DownloadQueryRequest(callback)); |
+ request); |
} |
// Changes all IN_PROGRESS in the database entries to CANCELED. |