Closed Bug 298842 Opened 20 years ago Closed 19 years ago

make the temp file part of nsITransfer

Categories

(Core Graveyard :: File Handling, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: mconnor, Assigned: Biesinger)

References

Details

Attachments

(1 file, 1 obsolete file)

per discussion with biesi, lets make the temp file a part of nsITransfer instead
of making all consumers implement observers, since they'll need this file
Component: Networking → File Handling
Attached patch patch (obsolete) — Splinter Review
Attachment #187362 - Flags: superreview?(darin)
Attachment #187362 - Flags: review?(mconnor)
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta2
Comment on attachment 187362 [details] [diff] [review]
patch

thanks!
Attachment #187362 - Flags: review?(mconnor) → review+
Blocks: 251625
Comment on attachment 187362 [details] [diff] [review]
patch

>Index: uriloader/base/nsITransfer.idl

>-[scriptable, uuid(0721AAF2-28AC-46cd-BCFA-5F8CA2A8B99B)]
>+[scriptable, uuid(23c51569-e9a1-4a92-adeb-3723db82ef7c)]
> interface nsITransfer : nsIWebProgressListener2 {

does it make sense to rev the IID of nsIDownload?

so can the temp file be null when uploading?  iirc, nsITransfer was
created to support uploading as well as downloading.  in the case
where we are uploading, the target URI is not a file:// URI.

sr=darin
Attachment #187362 - Flags: superreview?(darin) → superreview+
yeah, it can be null in other cases too (webbrowserpersist downloads). I did
document that it can be null.

I'll change the IID of nsIDownload.
Comment on attachment 187362 [details] [diff] [review]
patch

trivial patch, adds an argument to a function, very low risk.
Attachment #187362 - Flags: approval1.8b3?
Comment on attachment 187362 [details] [diff] [review]
patch

a=shaver with IID rev.
Attachment #187362 - Flags: approval1.8b3? → approval1.8b3+
Attached patch patch v1.1Splinter Review
merged to trunk + nsIDownload IID change
Attachment #187362 - Attachment is obsolete: true
checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Depends on: 316023
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: