Bug 759416 - Backout API change. r=dougt

This commit is contained in:
Doug Turner 2012-08-17 19:43:00 -07:00
parent 94c977596a
commit 2c5581b199

View File

@ -465,8 +465,10 @@ interface nsIFile : nsISupports
* The listener to call out to when the file updates.
* Updated will be recieved on the main thread.
*
* @return NS_NOT_AVAILABLE if there is an out-of-memory or other
* resource failure, NS_OK otherwise.
* @return NS_ERROR_FILE_TARGET_DOES_NOT_EXIST if the file
* doesn't exist, NS_NOT_AVAILABLE if there is an
* out-of-memory or other resource failure, NS_OK
* otherwise.
*/
void watch(in nsIFileUpdateListener listener);
@ -481,7 +483,7 @@ interface nsIFile : nsISupports
* @param listener
* the listener to stop calling out to
*
* @return NS_NOT_AVAILABLE if the file is not being
* @return NS_ERROR_ILLEGAL_VALUE if the file is not being
* watched with the given listener, NS_OK otherwise.
*/
void unwatch(in nsIFileUpdateListener listener);
@ -497,7 +499,7 @@ interface nsIFileUpdateListener : nsISupports
* processed.
*
* @param type
* The type of update that occured (one of "created" "deleted" or "modified").
* The type of update that occured (one of "created" "deleted" "modified" or "unknown").
* @param file
* The file which has updated
*/