#include <nsDogbertProfileMigrator.h>
Public Member Functions | |
NS_DECL_NSIBROWSERPROFILEMIGRATOR NS_DECL_ISUPPORTS | nsDogbertProfileMigrator () |
virtual | ~nsDogbertProfileMigrator () |
Public Member Functions inherited from nsNetscapeProfileMigratorBase | |
nsNetscapeProfileMigratorBase () | |
virtual | ~nsNetscapeProfileMigratorBase () |
Public Member Functions inherited from nsIBrowserProfileMigrator | |
void | migrate (in unsigned short aItems, in nsIProfileStartup aStartup, in wstring aProfile) |
unsigned short | getMigrateData (in wstring aProfile, in boolean aDoingStartup) |
Static Public Member Functions | |
static nsresult | GetHomepage (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | GetImagePref (void *aTransform, nsIPrefBranch *aBranch) |
Static Public Member Functions inherited from nsNetscapeProfileMigratorBase | |
static nsresult | GetString (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | SetString (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | GetWString (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | SetWString (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | SetWStringFromASCII (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | GetBool (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | SetBool (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | GetInt (void *aTransform, nsIPrefBranch *aBranch) |
static nsresult | SetInt (void *aTransform, nsIPrefBranch *aBranch) |
Protected Member Functions | |
nsresult | CopyPreferences (PRBool aReplace) |
nsresult | TransformPreferences (const nsAString &aSourcePrefFileName, const nsAString &aTargetPrefFileName) |
nsresult | CopyCookies (PRBool aReplace) |
nsresult | CopyBookmarks (PRBool aReplace) |
nsresult | MigrateDogbertBookmarks () |
void | GetSourceProfile (const PRUnichar *aProfile) |
Protected Member Functions inherited from nsNetscapeProfileMigratorBase | |
nsresult | GetProfileDataFromRegistry (nsILocalFile *aRegistryFile, nsISupportsArray *aProfileNames, nsISupportsArray *aProfileLocations) |
nsresult | CopyFile (const nsAString &aSourceFileName, const nsAString &aTargetFileName) |
nsresult | ImportNetscapeBookmarks (const nsAString &aBookmarksFileName, const PRUnichar *aImportSourceNameKey) |
nsresult | ImportNetscapeCookies (nsIFile *aCookiesFile) |
nsresult | GetSignonFileName (PRBool aReplace, char **aFileName) |
nsresult | LocateSignonsFile (char **aResult) |
Additional Inherited Members | |
Public Types inherited from nsNetscapeProfileMigratorBase | |
typedef nsresult(* | prefConverter )(void *, nsIPrefBranch *) |
Public Attributes inherited from nsIBrowserProfileMigrator | |
const unsigned short | ALL = 0x0000 |
const unsigned short | SETTINGS = 0x0001 |
const unsigned short | COOKIES = 0x0002 |
const unsigned short | HISTORY = 0x0004 |
const unsigned short | FORMDATA = 0x0008 |
const unsigned short | PASSWORDS = 0x0010 |
const unsigned short | BOOKMARKS = 0x0020 |
const unsigned short | OTHERDATA = 0x0040 |
readonly attribute boolean | sourceExists |
readonly attribute boolean | sourceHasMultipleProfiles |
readonly attribute nsISupportsArray | sourceProfiles |
readonly attribute AUTF8String | sourceHomePageURL |
Protected Attributes inherited from nsNetscapeProfileMigratorBase | |
nsCOMPtr< nsILocalFile > | mSourceProfile |
nsCOMPtr< nsIFile > | mTargetProfile |
Definition at line 55 of file nsDogbertProfileMigrator.h.
nsDogbertProfileMigrator::nsDogbertProfileMigrator | ( | ) |
Definition at line 125 of file nsDogbertProfileMigrator.cpp.
|
virtual |
Definition at line 130 of file nsDogbertProfileMigrator.cpp.
|
protected |
Definition at line 624 of file nsDogbertProfileMigrator.cpp.
|
protected |
Definition at line 510 of file nsDogbertProfileMigrator.cpp.
|
protected |
Definition at line 465 of file nsDogbertProfileMigrator.cpp.
|
static |
Definition at line 484 of file nsDogbertProfileMigrator.cpp.
|
static |
Definition at line 497 of file nsDogbertProfileMigrator.cpp.
|
protected |
Definition at line 380 of file nsDogbertProfileMigrator.cpp.
|
protected |
Definition at line 638 of file nsDogbertProfileMigrator.cpp.
|
protected |
Definition at line 431 of file nsDogbertProfileMigrator.cpp.