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

Unified Diff: chrome/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: 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: chrome/browser/download/download_item.h
diff --git a/chrome/browser/download/download_item.h b/chrome/browser/download/download_item.h
index d0749f265401139efd48c75186eaae3b20d0fe37..936b9178ba4db6a04e2d36391960f5aec8d202ba 100644
--- a/chrome/browser/download/download_item.h
+++ b/chrome/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
+ // |size| is the amount of data received so far, and |error| is the error
// code that the operation received.
- void Interrupted(int64 size, int os_error);
+ void Interrupted(int64 size, int error);
cbentzel 2011/08/16 15:50:36 You changed this to net_error in the rest of the C
ahendrickson 2011/08/18 21:52:01 It will eventually be a DownloadError.
// 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