| Index: content/public/browser/download_item.h
|
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
|
| index ec29c94465f6a2416413c7fc6722ed49d916d77c..5ef9597a05fd8c5c443141f1ede056f7828b7c88 100644
|
| --- a/content/public/browser/download_item.h
|
| +++ b/content/public/browser/download_item.h
|
| @@ -235,6 +235,12 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| // external action.
|
| virtual bool GetFileExternallyRemoved() const = 0;
|
|
|
| + // If the file is successfully deleted, then GetFileExternallyRemoved() will
|
| + // become true and DownloadItem::OnDownloadUpdated() will be called. Does
|
| + // nothing if GetState() == COMPLETE or GetFileExternallyRemoved() is already
|
| + // true.
|
| + virtual void DeleteFile() = 0;
|
| +
|
| // True if the file that will be written by the download is dangerous
|
| // and we will require a call to ValidateDangerousDownload() to complete.
|
| // False if the download is safe or that function has been called.
|
|
|