mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 759416 - Backout API change. r=dougt
This commit is contained in:
parent
94c977596a
commit
2c5581b199
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user