nsPhoenixProfileMigrator Class Reference

#include <nsPhoenixProfileMigrator.h>

Inheritance diagram for nsPhoenixProfileMigrator:
[legend]
Collaboration diagram for nsPhoenixProfileMigrator:
[legend]

Public Member Functions

NS_DECL_NSIBROWSERPROFILEMIGRATOR
NS_DECL_ISUPPORTS 
nsPhoenixProfileMigrator ()
 
virtual ~nsPhoenixProfileMigrator ()
 
- 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 SetImage (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetCookie (void *aTransform, nsIPrefBranch *aBranch)
 
static nsresult SetDownloadManager (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 FillProfileDataFromPhoenixRegistry ()
 
nsresult GetSourceProfile (const PRUnichar *aProfile)
 
nsresult CopyPreferences (PRBool aReplace)
 
nsresult CopyUserStyleSheets ()
 
nsresult CopyCookies (PRBool aReplace)
 
nsresult CopyHistory (PRBool aReplace)
 
nsresult CopyPasswords (PRBool aReplace)
 
nsresult CopyBookmarks (PRBool aReplace)
 
nsresult CopyOtherData (PRBool aReplace)
 
- 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
 

Detailed Description

Definition at line 52 of file nsPhoenixProfileMigrator.h.

Constructor & Destructor Documentation

nsPhoenixProfileMigrator::nsPhoenixProfileMigrator ( )

Definition at line 72 of file nsPhoenixProfileMigrator.cpp.

nsPhoenixProfileMigrator::~nsPhoenixProfileMigrator ( )
virtual

Definition at line 77 of file nsPhoenixProfileMigrator.cpp.

Member Function Documentation

nsresult nsPhoenixProfileMigrator::CopyBookmarks ( PRBool  aReplace)
protected

Definition at line 424 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::CopyCookies ( PRBool  aReplace)
protected

Definition at line 383 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::CopyHistory ( PRBool  aReplace)
protected

Definition at line 389 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::CopyOtherData ( PRBool  aReplace)
protected

Definition at line 431 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::CopyPasswords ( PRBool  aReplace)
protected

Definition at line 395 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::CopyPreferences ( PRBool  aReplace)
protected

Definition at line 309 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::CopyUserStyleSheets ( )
protected

Definition at line 332 of file nsPhoenixProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsPhoenixProfileMigrator::FillProfileDataFromPhoenixRegistry ( )
protected

Definition at line 272 of file nsPhoenixProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsPhoenixProfileMigrator::GetSourceProfile ( const PRUnichar *  aProfile)
protected

Definition at line 251 of file nsPhoenixProfileMigrator.cpp.

static nsresult nsPhoenixProfileMigrator::SetCookie ( void *  aTransform,
nsIPrefBranch aBranch 
)
static
static nsresult nsPhoenixProfileMigrator::SetDownloadManager ( void *  aTransform,
nsIPrefBranch aBranch 
)
static
static nsresult nsPhoenixProfileMigrator::SetImage ( void *  aTransform,
nsIPrefBranch aBranch 
)
static

The documentation for this class was generated from the following files: