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

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

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: sql::MetaTable.next_download_id, DownloadId, DownloadManager::GetNextId() 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
Index: chrome/browser/history/history.cc
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index 92f0e168dacda398d0b5dcff4aadd73db01bd8ba..618f12aa54595abeec6cce894932d46f04e83209 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -521,6 +521,13 @@ HistoryService::Handle HistoryService::CreateDownload(
create_info);
}
+HistoryService::Handle HistoryService::GetNextDownloadId(
+ CancelableRequestConsumerBase* consumer,
+ DownloadNextIdCallback* callback) {
+ return Schedule(PRIORITY_NORMAL, &HistoryBackend::GetNextDownloadId, consumer,
+ new history::DownloadNextIdRequest(callback));
+}
+
// Handle queries for a list of all downloads in the history database's
// 'downloads' table.
HistoryService::Handle HistoryService::QueryDownloads(

Powered by Google App Engine
This is Rietveld 408576698