[scriptable, uuid(7422b090-4a86-4407-972e-75468a625388)]
interface nsIToolkitProfile : nsISupports
Attributes
The location of the profile local directory, which may be the same as the root directory. See nsIProfileLock::localDirectory.
readonly attribute
nsILocalFile
localDir
The name of the profile.
attribute
AUTF8String
name
A interface representing a profile.
@note THIS INTERFACE SHOULD BE IMPLEMENTED BY THE TOOLKIT CODE ONLY! DON'T
EVEN THINK ABOUT IMPLEMENTING THIS IN JAVASCRIPT!
The location of the profile directory.
readonly attribute
nsILocalFile
rootDir
Methods
Lock this profile using platform-specific locking methods.
@param lockFile If locking fails, this may return a lockFile object
which can be used in platform-specific ways to
determine which process has the file locked. Null
may be passed.
@return An interface which holds a profile lock as long as you reference
it.
@throws NS_ERROR_FILE_ACCESS_DENIED if the profile was already locked.
nsIProfileLock
lock(out nsIProfileUnlocker aUnlocker)
Removes the profile from the registry of profiles.
@param removeFiles
Indicates whether or not the profile directory should be
removed in addition.
void
remove(in boolean removeFiles)
Compare to: