#include <nsSafariProfileMigrator.h>
|
static nsresult | SetBool (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetBoolInverted (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetString (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetInt (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetDefaultEncoding (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetDownloadFolder (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetDownloadHandlers (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetDownloadRetention (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetDisplayImages (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetFontName (void *aTransform, nsIPrefBranch *aBranch) |
|
static nsresult | SetFontSize (void *aTransform, nsIPrefBranch *aBranch) |
|
static void | CleanResource (nsIRDFDataSource *aDataSource, nsIRDFResource *aResource) |
|
Definition at line 52 of file nsSafariProfileMigrator.h.
typedef nsresult(* nsSafariProfileMigrator::prefConverter)(void *, nsIPrefBranch *) |
nsSafariProfileMigrator::nsSafariProfileMigrator |
( |
| ) |
|
nsSafariProfileMigrator::~nsSafariProfileMigrator |
( |
| ) |
|
|
virtual |
void nsSafariProfileMigrator::CleanResource |
( |
nsIRDFDataSource * |
aDataSource, |
|
|
nsIRDFResource * |
aResource |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::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 919 of file nsSafariProfileMigrator.cpp.
nsresult nsSafariProfileMigrator::CopyBookmarksBatched |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::CopyCookies |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::CopyFormData |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::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 841 of file nsSafariProfileMigrator.cpp.
nsresult nsSafariProfileMigrator::CopyHistoryBatched |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::CopyOtherData |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::CopyPreferences |
( |
PRBool |
aReplace | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::GetSafariUserStyleSheet |
( |
nsILocalFile ** |
aResult | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::ParseBookmarksFolder |
( |
CFArrayRef |
aChildren, |
|
|
PRInt64 |
aParentFolder, |
|
|
nsINavBookmarksService * |
aBookmarksService, |
|
|
PRBool |
aIsAtRootLevel |
|
) |
| |
|
protected |
nsresult nsSafariProfileMigrator::ProfileHasContentStyleSheet |
( |
PRBool * |
outExists | ) |
|
|
protected |
nsresult nsSafariProfileMigrator::SetBool |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetBoolInverted |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetDefaultEncoding |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetDisplayImages |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetDownloadFolder |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetDownloadHandlers |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetDownloadRetention |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetFontName |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetFontSize |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetInt |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
nsresult nsSafariProfileMigrator::SetString |
( |
void * |
aTransform, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: