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

Unified Diff: content/browser/download/download_item_impl.h

Issue 14947007: [Downloads] Allow acquiring dangerous download file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename methods for consistency Created 7 years, 7 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: content/browser/download/download_item_impl.h
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
index e55a0dc743db16b4cb79b8f6ee78ffd2cf5d7a8b..6e7f40925da8f1d8944a7fe7d67efbdc5bdc8390 100644
--- a/content/browser/download/download_item_impl.h
+++ b/content/browser/download/download_item_impl.h
@@ -90,11 +90,13 @@ class CONTENT_EXPORT DownloadItemImpl
virtual void AddObserver(DownloadItem::Observer* observer) OVERRIDE;
virtual void RemoveObserver(DownloadItem::Observer* observer) OVERRIDE;
virtual void UpdateObservers() OVERRIDE;
- virtual void DangerousDownloadValidated() OVERRIDE;
+ virtual void ValidateDangerousDownload() OVERRIDE;
virtual void Pause() OVERRIDE;
virtual void Resume() OVERRIDE;
virtual void Cancel(bool user_cancel) OVERRIDE;
- virtual void Delete(DeleteReason reason) OVERRIDE;
+ virtual void DiscardDangerousDownload(DeleteReason reason,
+ const AcquireFileCallback& callback)
+ OVERRIDE;
virtual void Remove() OVERRIDE;
virtual void OpenDownload() OVERRIDE;
virtual void ShowDownloadInShell() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698