184
edits
(→Problems addressed by this API: more details on problems addressed) |
(→Constants: -tmpDir (not portable enough)) |
||
Line 106: | Line 106: | ||
/** | /** | ||
* Return the location of the directory/folder used to store | * Return the location of the directory/folder used to store user profile | ||
* | * | ||
* Computed lazily, cached. | * Computed lazily, cached. | ||
Line 112: | Line 112: | ||
* @return {DirectoryDescriptor} | * @return {DirectoryDescriptor} | ||
*/ | */ | ||
get | get profileDir() { | ||
//All platforms: use [nsIDirectoryService | //All platforms: use [nsIDirectoryService] to get the directory the first time, cache it. | ||
}, | }, | ||
//TODO: Add other well-known directories. | //TODO: Add other well-known directories. |
edits