Closed Bug 220477 Opened 21 years ago Closed 21 years ago

convert nsIURILoader comments to doxygen-style comments

Categories

(Core Graveyard :: File Handling, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

Attachment #132250 - Flags: superreview?(darin)
Attachment #132250 - Flags: review?(bzbarsky)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
Comment on attachment 132250 [details] [diff] [review]
patch

r=me.  we should look into actually cleaning up and freezing this interface,
btw...
Attachment #132250 - Flags: review?(bzbarsky) → review+
Comment on attachment 132250 [details] [diff] [review]
patch

>Index: base/nsIURILoader.idl

>+  /**
>+   * OpenURI requires the following parameters.....
>+   * @param aChannel The channel that should be opened. This must not be
>+   *                 asyncOpen'd yet!
>+   * @param aIsContentPreferred Should the content be displayed in a container that prefers
>+   *                            the content-type, or will any container do.
>+   * @param aWindowContext if you are running the url from a doc shell or a
>+   *                       web shell, this is your window context. If you have a
>+   *                       content listener you want to give first crack to, the
>+   *                       uri loader needs to be able to get it from the window
>+   *                       context (we'll use nsIInterfaceRequestor).  we will
>+   *                       also be using nsIInterfaceRequestor to get at the
>+   *                       progress event sink interface.
>+   */ 

  /**
   * OpenURI requires the following parameters.....
   * @param aChannel
   *	    The channel that should be opened. This must not be asyncOpen'd
yet!
   * @param aIsContentPreferred
   *	    Should the content be displayed in a container that prefers the
   *	    content-type, or will any container do.
   * @param aWindowContext
   *	    If you are running the url from a doc shell or a web shell, this is
   *	    your window context. If you have a content listener you want to
give
   *	    first crack to, the uri loader needs to be able to get it from the
   *	    window context (we'll use nsIInterfaceRequestor).  we will also be
   *	    using nsIInterfaceRequestor to get at the progress event sink
   *	    interface.
   */ 

nit: i think this style of documenting parameters works better, but you can of
course pick whatever style you prefer.

sr=darin
Attachment #132250 - Flags: superreview?(darin) → superreview+
hm, yeah, your style does indeed look better. checked in with that change

Checking in nsIURILoader.idl;
/cvsroot/mozilla/uriloader/base/nsIURILoader.idl,v  <--  nsIURILoader.idl
new revision: 1.27; previous revision: 1.26
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
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: