nsIBrowserProfileMigrator
| IID: | f8365b4a-da55-4e47-be7a-230142360f62 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
- @mozilla.org/profile/migrator;1?app=browser&type=dogbert
- @mozilla.org/profile/migrator;1?app=browser&type=opera
- @mozilla.org/profile/migrator;1?app=browser&type=phoenix
- @mozilla.org/profile/migrator;1?app=browser&type=seamonkey
- @mozilla.org/profile/migrator;1?app=browser&type=camino
- @mozilla.org/profile/migrator;1?app=browser&type=icab
- @mozilla.org/profile/migrator;1?app=browser&type=macie
- @mozilla.org/profile/migrator;1?app=browser&type=omniweb
- @mozilla.org/profile/migrator;1?app=browser&type=safari
Constants
Properties
readonly PRBool sourceExists
Whether or not there is any data that can be imported from this browser (i.e. whether or not it is installed, and there exists a user profile)
readonly PRBool sourceHasMultipleProfiles
Whether or not the import source implementing this interface has multiple user profiles configured.
readonly AUTF8String sourceHomePageURL
The import source homepage. Returns null if not present/available
readonly nsISupportsArray sourceProfiles
An enumeration of available profiles. If the import source does not support profiles, this attribute is null.
Methods
PRUint16 getMigrateData ( PRUnichar* profile , PRBool doingStartup )
void migrate ( PRUint16 items , nsIProfileStartup startup , PRUnichar* profile )
PRUint16 getMigrateData ( PRUnichar* profile , PRBool doingStartup )
A bit field containing profile items that this migrator offers for import.
- Arguments:
- profile: the profile that we are looking for available data to import
- doingStartup: "true" if the profile is not currently being used.
void migrate ( PRUint16 items , nsIProfileStartup startup , PRUnichar* profile )
Copy user profile information to the current active profile.
- Arguments:
- items: list of data items to migrate. see above for values.
- startup: helper interface which is non-null if called during startup.
- profile: profile to migrate from, if there is more than one.
Reference documentation is generated from Mozilla's source.
