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..c0cb5aac92d7dd5941b690bf458e52b371f2e7a2 100644 |
--- a/chrome/browser/download/download_history.h |
+++ b/chrome/browser/download/download_history.h |
@@ -31,6 +31,10 @@ class DownloadHistory { |
explicit DownloadHistory(Profile* profile); |
~DownloadHistory(); |
+ // Retrieves the next_id counter from the sql meta_table. |
+ // Should be much faster than Load; downloads cannot happen until after this. |
Randy Smith (Not in Mondays)
2011/07/28 21:03:16
nit: This comment is inaccurate for this CL, thoug
benjhayden
2011/08/03 17:44:46
Done.
|
+ void GetNextId(HistoryService::DownloadNextIdCallback* callback); |
+ |
// Retrieves DownloadCreateInfos saved in the history. |
void Load(HistoryService::DownloadQueryCallback* callback); |