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

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

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merged db_handle, id; onCreated, onErased Created 9 years, 5 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/history/history.h ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/browser/history/history.h ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698