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

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

Issue 11150027: Handle the case where IAttachmentExecute::Save() deletes a downloaded file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android Created 8 years, 2 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_file_impl.h
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index 11424aff2e36f44fc28b1c446d829750be0b3b66..bbffc50fad5d41c777b330670504023f36d95988 100644
--- a/content/browser/download/download_file_impl.h
+++ b/content/browser/download/download_file_impl.h
@@ -55,9 +55,8 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile {
virtual void Rename(const FilePath& full_path,
bool overwrite_existing_file,
const RenameCompletionCallback& callback) OVERRIDE;
- virtual void Detach(base::Closure callback) OVERRIDE;
+ virtual void Detach(const DetachCompletionCallback& callback) OVERRIDE;
virtual void Cancel() OVERRIDE;
- virtual void AnnotateWithSourceInformation() OVERRIDE;
virtual FilePath FullPath() const OVERRIDE;
virtual bool InProgress() const OVERRIDE;
virtual int64 BytesSoFar() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698