#include <nsOperaProfileMigrator.h>
|
nsresult | CopyPreferences (PRBool aReplace) |
|
nsresult | ParseColor (nsINIParser &aParser, const char *aSectionName, char **aResult) |
|
nsresult | CopyUserContentSheet (nsINIParser &aParser) |
|
nsresult | CopyProxySettings (nsINIParser &aParser, nsIPrefBranch *aBranch) |
|
nsresult | GetInteger (nsINIParser &aParser, const char *aSectionName, const char *aKeyName, PRInt32 *aResult) |
|
nsresult | CopyCookies (PRBool aReplace) |
|
nsresult | CopyHistory (PRBool aReplace) |
|
nsresult | CopyHistoryBatched (PRBool aReplace) |
|
nsresult | CopyBookmarks (PRBool aReplace) |
|
nsresult | CopyBookmarksBatched (PRBool aReplace) |
|
void | ClearToolbarFolder (nsINavBookmarksService *aBookmarksService, PRInt64 aToolbarFolder) |
|
nsresult | ParseBookmarksFolder (nsILineInputStream *aStream, PRInt64 aFolder, PRInt64 aToolbar, nsINavBookmarksService *aBMS) |
|
void | GetOperaProfile (const PRUnichar *aProfile, nsILocalFile **aFile) |
|
Definition at line 59 of file nsOperaProfileMigrator.h.
typedef nsresult(* nsOperaProfileMigrator::prefConverter)(void *, nsIPrefBranch *) |
nsOperaProfileMigrator::nsOperaProfileMigrator |
( |
| ) |
|
nsOperaProfileMigrator::~nsOperaProfileMigrator |
( |
| ) |
|
|
virtual |
void nsOperaProfileMigrator::ClearToolbarFolder |
( |
nsINavBookmarksService * |
aBookmarksService, |
|
|
PRInt64 |
aToolbarFolder |
|
) |
| |
|
protected |
nsresult nsOperaProfileMigrator::CopyBookmarks |
( |
PRBool |
aReplace | ) |
|
|
protected |
Migrate bookmarks to Places. This will end up calling CopyBookmarksBatched helper, that provides batch support. Batching allows for better performances and integrity.
- Parameters
-
aReplace | Indicates if we should replace current bookmarks or append to them. When appending we will usually default to bookmarks menu. |
Definition at line 1084 of file nsOperaProfileMigrator.cpp.
nsresult nsOperaProfileMigrator::CopyBookmarksBatched |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsOperaProfileMigrator::CopyCookies |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsOperaProfileMigrator::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
-
aReplace | Indicates if we should replace current history or append to it. |
Definition at line 1000 of file nsOperaProfileMigrator.cpp.
nsresult nsOperaProfileMigrator::CopyHistoryBatched |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsOperaProfileMigrator::CopyPreferences |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsOperaProfileMigrator::CopyProxySettings |
( |
nsINIParser & |
aParser, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
protected |
nsresult nsOperaProfileMigrator::CopyUserContentSheet |
( |
nsINIParser & |
aParser | ) |
|
|
protected |
nsresult nsOperaProfileMigrator::GetInteger |
( |
nsINIParser & |
aParser, |
|
|
const char * |
aSectionName, |
|
|
const char * |
aKeyName, |
|
|
PRInt32 * |
aResult |
|
) |
| |
|
protected |
void nsOperaProfileMigrator::GetOperaProfile |
( |
const PRUnichar * |
aProfile, |
|
|
nsILocalFile ** |
aFile |
|
) |
| |
|
protected |
nsresult nsOperaProfileMigrator::ParseBookmarksFolder |
( |
nsILineInputStream * |
aStream, |
|
|
PRInt64 |
aFolder, |
|
|
PRInt64 |
aToolbar, |
|
|
nsINavBookmarksService * |
aBMS |
|
) |
| |
|
protected |
nsresult nsOperaProfileMigrator::ParseColor |
( |
nsINIParser & |
aParser, |
|
|
const char * |
aSectionName, |
|
|
char ** |
aResult |
|
) |
| |
|
protected |
nsresult nsOperaProfileMigrator::SetBool |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetCookieBehavior |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetCookieLifetime |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetFile |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetImageBehavior |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetInt |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetString |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsOperaProfileMigrator::SetWString |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: