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

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: Merged with trunk. 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..f613bcb8439e17c1e471972df67cdbfad064fd0f 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 error code that the operation received.
Randy Smith (Not in Mondays) 2011/08/19 20:09:13 Shouldn't this comment specify the type/namespace
ahendrickson 2011/08/22 14:53:30 Done.
+ 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