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

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

Issue 7646025: Detect file system errors during downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comment. Created 9 years, 4 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_item.h
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h
index 3a90253dd5fcb7bbab7dd655b2aaaa9687836224..94e11bc58bb1f724338ea89f8784cf8447581b23 100644
--- a/content/browser/download/download_item.h
+++ b/content/browser/download/download_item.h
@@ -185,9 +185,9 @@ class DownloadItem : public NotificationObserver {
void OnDownloadedFileRemoved();
// Download operation had an error.
- // |size| is the amount of data received so far, and |os_error| is the error
- // code that the operation received.
- void Interrupted(int64 size, int os_error);
+ // |size| is the amount of data received at interruption.
+ // |error| is the network error code that the operation received.
+ void Interrupted(int64 size, int error);
// Deletes the file from disk and removes the download from the views and
// history. |user| should be true if this is the result of the user clicking

Powered by Google App Engine
This is Rietveld 408576698