Index: content/public/browser/download_item.h |
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h |
index 5ef9597a05fd8c5c443141f1ede056f7828b7c88..f353aa9685dff4b9ba1f248f29e3251a523cf640 100644 |
--- a/content/public/browser/download_item.h |
+++ b/content/public/browser/download_item.h |
@@ -239,7 +239,7 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
// become true and DownloadItem::OnDownloadUpdated() will be called. Does |
// nothing if GetState() == COMPLETE or GetFileExternallyRemoved() is already |
// true. |
asanka
2014/01/16 16:05:51
Can you document how the callback will be invoked?
benjhayden
2014/01/16 17:09:18
Done.
|
- virtual void DeleteFile() = 0; |
+ virtual void DeleteFile(const base::Callback<void(bool)>& callback) = 0; |
// True if the file that will be written by the download is dangerous |
// and we will require a call to ValidateDangerousDownload() to complete. |