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

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: " Created 9 years, 4 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 d0b5960d9f10bfb68ce473ca2d5177f4f7949692..adffda543f664a0c5185b145c724abeae9bdb34d 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -511,6 +511,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