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

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

Issue 10069014: Save Page As MHTML (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 8 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
Index: chrome/browser/download/chrome_download_manager_delegate.h
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
index e5ee17dffb732aa0f92b0d3a75591949954ce948..6fa93494d22ec9e286ce02877526e7078aecc02e 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -51,6 +51,8 @@ class ChromeDownloadManagerDelegate
// Returns true if the given item is for an extension download.
static bool IsExtensionDownload(const content::DownloadItem* item);
+ static void DisableSafeBrowsing(content::DownloadItem* item);
+
virtual void Shutdown() OVERRIDE;
virtual content::DownloadId GetNextId() OVERRIDE;
virtual bool ShouldStartDownload(int32 download_id) OVERRIDE;
@@ -83,7 +85,7 @@ class ChromeDownloadManagerDelegate
const FilePath& suggested_path,
const FilePath::StringType& default_extension,
bool can_save_as_complete,
- content::SaveFilePathPickedCallback callback) OVERRIDE;
+ const content::SavePackagePathPickedCallback& callback) OVERRIDE;
DownloadPrefs* download_prefs() { return download_prefs_.get(); }
DownloadHistory* download_history() { return download_history_.get(); }

Powered by Google App Engine
This is Rietveld 408576698