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

Unified Diff: chrome/browser/download/save_package.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 | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/save_package.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698