Index: chrome/browser/history/history.h |
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h |
index 120d764e99e8a86356e6134d530d9e5862d33053..0a09a6adaf3bbf8f86e7c4ae44d1b7d237a20119 100644 |
--- a/chrome/browser/history/history.h |
+++ b/chrome/browser/history/history.h |
@@ -423,6 +423,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<DownloadPersistentStoreInfo>*>::Type |