Index: chrome/browser/download/save_package.h |
=================================================================== |
--- chrome/browser/download/save_package.h (revision 76501) |
+++ chrome/browser/download/save_package.h (working copy) |
@@ -16,6 +16,7 @@ |
#include "base/hash_tables.h" |
#include "base/ref_counted.h" |
#include "base/task.h" |
+#include "chrome/browser/history/download_create_info.h" |
#include "chrome/browser/tab_contents/tab_contents_observer.h" |
#include "chrome/browser/ui/shell_dialogs.h" |
#include "googleurl/src/gurl.h" |
@@ -163,6 +164,12 @@ |
void SaveNextFile(bool process_all_remainder_items); |
void DoSavingProcess(); |
+ // Called when Save Page As entry is commited to the history system. |
+ void OnDownloadEntryAdded(DownloadCreateInfo info, int64 db_handle); |
+ |
+ // Called when a Save Page As download is started. |
+ void CreateDownloadItem(const FilePath& path, const GURL& url, bool is_otr); |
+ |
// TabContentsObserver implementation. |
virtual bool OnMessageReceived(const IPC::Message& message); |