nsIEProfileMigrator Class Reference

#include <nsIEProfileMigrator.h>

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

Public Member Functions

NS_DECL_NSIBROWSERPROFILEMIGRATOR
NS_DECL_NSINAVHISTORYBATCHCALLBACK
NS_DECL_ISUPPORTS 
nsIEProfileMigrator ()
 
virtual ~nsIEProfileMigrator ()
 
- 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)
 

Protected Member Functions

nsresult CopyPreferences (PRBool aReplace)
 
nsresult CopyStyleSheet (PRBool aReplace)
 
nsresult CopyCookies (PRBool aReplace)
 
nsresult CopyProxyPreferences (nsIPrefBranch *aPrefs)
 
nsresult CopySecurityPrefs (nsIPrefBranch *aPrefs)
 
nsresult CopyHistory (PRBool aReplace)
 
nsresult CopyHistoryBatched (PRBool aReplace)
 
PRBool KeyIsURI (const nsAString &aKey, char **aRealm)
 
nsresult CopyPasswords (PRBool aReplace)
 
nsresult MigrateSiteAuthSignons (IPStore *aPStore)
 
nsresult GetSignonsListFromPStore (IPStore *aPStore, nsTArray< SignonData > *aSignonsFound)
 
nsresult ResolveAndMigrateSignons (IPStore *aPStore, nsTArray< SignonData > *aSignonsFound)
 
void EnumerateUsernames (const nsAString &aKey, PRUnichar *aData, unsigned long aCount, nsTArray< SignonData > *aSignonsFound)
 
void GetUserNameAndPass (unsigned char *data, unsigned long len, unsigned char **username, unsigned char **pass)
 
nsresult CopyFormData (PRBool aReplace)
 
nsresult AddDataToFormHistory (const nsAString &aKey, PRUnichar *data, unsigned long len)
 
nsresult CopyFavorites (PRBool aReplace)
 
nsresult CopyFavoritesBatched (PRBool aReplace)
 
void ResolveShortcut (const nsString &aFileName, char **aOutURL)
 
nsresult ParseFavoritesFolder (nsIFile *aDirectory, PRInt64 aParentFolder, nsINavBookmarksService *aBookmarksService, const nsAString &aPersonalToolbarFolderName, PRBool aIsAtRootLevel)
 
nsresult CopySmartKeywords (nsINavBookmarksService *aBMS, PRInt64 aParentFolder)
 
nsresult CopyCookiesFromBuffer (char *aBuffer, PRUint32 aBufferLength, nsICookieManager2 *aCookieManager)
 
void DelimitField (char **aBuffer, const char *aBufferEnd, char **aField)
 
time_t FileTimeToTimeT (const char *aLowDateIntString, const char *aHighDateIntString)
 
void GetUserStyleSheetFile (nsIFile **aUserFile)
 
PRBool TestForIE7 ()
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 66 of file nsIEProfileMigrator.h.

Constructor & Destructor Documentation

nsIEProfileMigrator::nsIEProfileMigrator ( )

Definition at line 561 of file nsIEProfileMigrator.cpp.

nsIEProfileMigrator::~nsIEProfileMigrator ( )
virtual

Definition at line 566 of file nsIEProfileMigrator.cpp.

Member Function Documentation

nsresult nsIEProfileMigrator::AddDataToFormHistory ( const nsAString &  aKey,
PRUnichar *  data,
unsigned long  len 
)
protected

Definition at line 1308 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::CopyCookies ( PRBool  aReplace)
protected

Definition at line 1736 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsIEProfileMigrator::CopyCookiesFromBuffer ( char *  aBuffer,
PRUint32  aBufferLength,
nsICookieManager2 *  aCookieManager 
)
protected

Definition at line 1860 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::CopyFavorites ( PRBool  aReplace)
protected

Migrate bookmarks to Places. This will end up calling CopyFavoritesBatched helper, that provides batch support. Batching allows for better performances and integrity.

Parameters
aReplaceIndicates if we should replace current bookmarks or append to them. When appending we will usually default to bookmarks menu.

Definition at line 1337 of file nsIEProfileMigrator.cpp.

nsresult nsIEProfileMigrator::CopyFavoritesBatched ( PRBool  aReplace)
protected

Definition at line 1359 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsIEProfileMigrator::CopyFormData ( PRBool  aReplace)
protected

Definition at line 1261 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsIEProfileMigrator::CopyHistory ( PRBool  aReplace)
protected

Migrate history to Places. This will end up calling CopyHistoryBatched helper, that provides batch support. Batching allows for better performances and integrity.

Parameters
aReplaceIndicates if we should replace current history or append to it.

Definition at line 668 of file nsIEProfileMigrator.cpp.

nsresult nsIEProfileMigrator::CopyHistoryBatched ( PRBool  aReplace)
protected

Definition at line 690 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsIEProfileMigrator::CopyPasswords ( PRBool  aReplace)
protected

Definition at line 936 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsIEProfileMigrator::CopyPreferences ( PRBool  aReplace)
protected

Definition at line 1678 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

nsresult nsIEProfileMigrator::CopyProxyPreferences ( nsIPrefBranch aPrefs)
protected

Definition at line 2120 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::CopySecurityPrefs ( nsIPrefBranch aPrefs)
protected

Definition at line 2089 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::CopySmartKeywords ( nsINavBookmarksService *  aBMS,
PRInt64  aParentFolder 
)
protected

Definition at line 1448 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::CopyStyleSheet ( PRBool  aReplace)
protected

Definition at line 2014 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

void nsIEProfileMigrator::DelimitField ( char **  aBuffer,
const char *  aBufferEnd,
char **  aField 
)
protected

Definition at line 1967 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

void nsIEProfileMigrator::EnumerateUsernames ( const nsAString &  aKey,
PRUnichar *  aData,
unsigned long  aCount,
nsTArray< SignonData > *  aSignonsFound 
)
protected

Definition at line 1176 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

time_t nsIEProfileMigrator::FileTimeToTimeT ( const char *  aLowDateIntString,
const char *  aHighDateIntString 
)
protected

Definition at line 1989 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::GetSignonsListFromPStore ( IPStore *  aPStore,
nsTArray< SignonData > *  aSignonsFound 
)
protected

Definition at line 1047 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void nsIEProfileMigrator::GetUserNameAndPass ( unsigned char *  data,
unsigned long  len,
unsigned char **  username,
unsigned char **  pass 
)
protected

Definition at line 1228 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

void nsIEProfileMigrator::GetUserStyleSheetFile ( nsIFile **  aUserFile)
protected

Definition at line 2065 of file nsIEProfileMigrator.cpp.

PRBool nsIEProfileMigrator::KeyIsURI ( const nsAString &  aKey,
char **  aRealm 
)
protected

Definition at line 1099 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::MigrateSiteAuthSignons ( IPStore *  aPStore)
protected

Definition at line 976 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::ParseFavoritesFolder ( nsIFile *  aDirectory,
PRInt64  aParentFolder,
nsINavBookmarksService *  aBookmarksService,
const nsAString &  aPersonalToolbarFolderName,
PRBool  aIsAtRootLevel 
)
protected

Definition at line 1553 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsIEProfileMigrator::ResolveAndMigrateSignons ( IPStore *  aPStore,
nsTArray< SignonData > *  aSignonsFound 
)
protected

Definition at line 1129 of file nsIEProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void nsIEProfileMigrator::ResolveShortcut ( const nsString &  aFileName,
char **  aOutURL 
)
protected

Definition at line 1525 of file nsIEProfileMigrator.cpp.

Here is the caller graph for this function:

PRBool nsIEProfileMigrator::TestForIE7 ( )
protected

Definition at line 573 of file nsIEProfileMigrator.cpp.


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