Index: chrome/browser/history/history.h |
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h |
index 06008de5b56fe64332998bbf6b0c808bb42d5f33..33c56dcd27682d20a869c564793cb4fbf2d81c37 100644 |
--- a/chrome/browser/history/history.h |
+++ b/chrome/browser/history/history.h |
@@ -425,6 +425,13 @@ class HistoryService : public CancelableRequestProvider, |
CancelableRequestConsumerBase* consumer, |
DownloadCreateCallback* callback); |
+ // Implemented by the caller of 'GetNextDownloadId' below. |
+ typedef Callback1<int/*next_download_id*/>::Type DownloadNextIdCallback; |
+ |
+ // Runs the callback with the next available download id. |
+ Handle GetNextDownloadId(CancelableRequestConsumerBase* consumer, |
+ DownloadNextIdCallback* callback); |
+ |
// Implemented by the caller of 'QueryDownloads' below, and is called when the |
// history service has retrieved a list of all download state. The call |
typedef Callback1<std::vector<DownloadHistoryInfo>*>::Type |