#include <nsIEProfileMigrator.h>
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 |
Definition at line 66 of file nsIEProfileMigrator.h.
nsIEProfileMigrator::nsIEProfileMigrator | ( | ) |
Definition at line 561 of file nsIEProfileMigrator.cpp.
|
virtual |
Definition at line 566 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1308 of file nsIEProfileMigrator.cpp.
|
protected |
|
protected |
Definition at line 1860 of file nsIEProfileMigrator.cpp.
|
protected |
Migrate bookmarks to Places. This will end up calling CopyFavoritesBatched helper, that provides batch support. Batching allows for better performances and integrity.
aReplace | Indicates 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.
|
protected |
|
protected |
|
protected |
Migrate history to Places. This will end up calling CopyHistoryBatched helper, that provides batch support. Batching allows for better performances and integrity.
aReplace | Indicates if we should replace current history or append to it. |
Definition at line 668 of file nsIEProfileMigrator.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 2120 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 2089 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1448 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 2014 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1967 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1176 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1989 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1047 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1228 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 2065 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1099 of file nsIEProfileMigrator.cpp.
|
protected |
|
protected |
Definition at line 1553 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1129 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 1525 of file nsIEProfileMigrator.cpp.
|
protected |
Definition at line 573 of file nsIEProfileMigrator.cpp.