Index: chrome/browser/download/download_history.h |
diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h |
index f4b48812137e7d34848e623cb39fb957f81e3e1d..6908f60caf59b5cf44f00768505ee73cc631ab11 100644 |
--- a/chrome/browser/download/download_history.h |
+++ b/chrome/browser/download/download_history.h |
@@ -31,6 +31,11 @@ class DownloadHistory { |
explicit DownloadHistory(Profile* profile); |
~DownloadHistory(); |
+ // Retrieves the next_id counter from the sql meta_table. |
+ // Should be much faster than Load so that we may delay downloads until after |
+ // this call with minimal performance penalty. |
+ void GetNextId(HistoryService::DownloadNextIdCallback* callback); |
+ |
// Retrieves DownloadCreateInfos saved in the history. |
void Load(HistoryService::DownloadQueryCallback* callback); |