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

Unified Diff: content/browser/download/base_file.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/base_file.h
diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h
index e6ae0a3164e8f8578645445d49bb1f937aec58c7..c138636a338ebb6466d9eda9854691b13ed689b0 100644
--- a/content/browser/download/base_file.h
+++ b/content/browser/download/base_file.h
@@ -72,8 +72,9 @@ class CONTENT_EXPORT BaseFile {
// Indicate that the download has finished. No new data will be received.
void Finish();
- // Informs the OS that this file came from the internet.
- void AnnotateWithSourceInformation();
+ // Informs the OS that this file came from the internet. Returns a
+ // DownloadInterruptReason indicating the result of the operation.
+ content::DownloadInterruptReason AnnotateWithSourceInformation();
// Calculate and return the current speed in bytes per second.
int64 CurrentSpeed() const;

Powered by Google App Engine
This is Rietveld 408576698