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

Unified Diff: chrome/browser/download/download_manager.h

Issue 6312027: Add files saved using 'Save page as' to the download history.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/download/download_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_manager.h
===================================================================
--- chrome/browser/download/download_manager.h (revision 76501)
+++ chrome/browser/download/download_manager.h (working copy)
@@ -153,6 +153,10 @@
// Remove the download with id |download_id| from |active_downloads_|.
void RemoveFromActiveList(int32 download_id);
+ // Add DownloadItem to history, validate |db_handle| and store
+ // it in the DownloadItem.
+ void AddDownloadItemToHistory(DownloadItem* item, int64 db_handle);
+
// Called when a Save Page As download is started. Transfers ownership
// of |download_item| to the DownloadManager.
void SavePageAsDownloadStarted(DownloadItem* download_item);
« no previous file with comments | « no previous file | chrome/browser/download/download_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698