Index: content/browser/download/base_file.h |
diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h |
index 9a98d0943f11ad508ae0a1c2b1102a199c5eafae..cc87ae6ce6713a569ed2c418e0e2d87ff61e80b1 100644 |
--- a/content/browser/download/base_file.h |
+++ b/content/browser/download/base_file.h |
@@ -75,6 +75,11 @@ class CONTENT_EXPORT BaseFile { |
// Indicate that the download has finished. No new data will be received. |
void Finish(); |
+ // Indicate that the download is being aborted due to an error. This is |
+ // identical to Finish() with the exception that the hash state will not be |
+ // finalized. |
+ void FinishWithError(); |
+ |
// Set the client guid which will be used to identify the app to the |
// system AV scanning function. Should be called before |
// AnnotateWithSourceInformation() to take effect. |