#include "nsBrowserProfileMigratorUtils.h"
#include "nsINavBookmarksService.h"
#include "nsBrowserCompsCID.h"
#include "nsToolkitCompsCID.h"
#include "nsIPlacesImportExportService.h"
#include "nsIFile.h"
#include "nsIInputStream.h"
#include "nsILineInputStream.h"
#include "nsIProperties.h"
#include "nsIProfileMigrator.h"
#include "nsIURI.h"
#include "nsNetUtil.h"
#include "nsISupportsPrimitives.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsIRDFService.h"
#include "nsIStringBundle.h"
#include "nsISupportsArray.h"
#include "nsXPCOMCID.h"
Go to the source code of this file.
|
void | SetUnicharPref (const char *aPref, const nsAString &aValue, nsIPrefBranch *aPrefs) |
|
void | SetProxyPref (const nsAString &aHostPort, const char *aPref, const char *aPortPref, nsIPrefBranch *aPrefs) |
|
void | ParseOverrideServers (const nsAString &aServers, nsIPrefBranch *aBranch) |
|
void | GetMigrateDataFromArray (MigrationData *aDataArray, PRInt32 aDataArrayLength, PRBool aReplace, nsIFile *aSourceProfile, PRUint16 *aResult) |
|
void | GetProfilePath (nsIProfileStartup *aStartup, nsCOMPtr< nsIFile > &aProfileDir) |
|
nsresult | AnnotatePersonalToolbarFolder (nsIFile *aSourceBookmarksFile, nsIFile *aTargetBookmarksFile, const char *aToolbarFolderName) |
|
nsresult | ImportBookmarksHTML (nsIFile *aBookmarksFile, PRBool aImportIntoRoot, PRBool aOverwriteDefaults, const PRUnichar *aImportSourceNameKey) |
|
nsresult | InitializeBookmarks (nsIFile *aTargetProfile) |
|
#define BOOKMARKS_FILE_NAME NS_LITERAL_STRING("bookmarks.html") |
#define MIGRATION_BUNDLE "chrome://browser/locale/migration/migration.properties" |
nsresult AnnotatePersonalToolbarFolder |
( |
nsIFile * |
aSourceBookmarksFile, |
|
|
nsIFile * |
aTargetBookmarksFile, |
|
|
const char * |
aToolbarFolderName |
|
) |
| |
void GetMigrateDataFromArray |
( |
MigrationData * |
aDataArray, |
|
|
PRInt32 |
aDataArrayLength, |
|
|
PRBool |
aReplace, |
|
|
nsIFile * |
aSourceProfile, |
|
|
PRUint16 * |
aResult |
|
) |
| |
void GetProfilePath |
( |
nsIProfileStartup * |
aStartup, |
|
|
nsCOMPtr< nsIFile > & |
aProfileDir |
|
) |
| |
nsresult ImportBookmarksHTML |
( |
nsIFile * |
aBookmarksFile, |
|
|
PRBool |
aImportIntoRoot, |
|
|
PRBool |
aOverwriteDefaults, |
|
|
const PRUnichar * |
aImportSourceNameKey |
|
) |
| |
nsresult InitializeBookmarks |
( |
nsIFile * |
aTargetProfile | ) |
|
void ParseOverrideServers |
( |
const nsAString & |
aServers, |
|
|
nsIPrefBranch * |
aBranch |
|
) |
| |
void SetProxyPref |
( |
const nsAString & |
aHostPort, |
|
|
const char * |
aPref, |
|
|
const char * |
aPortPref, |
|
|
nsIPrefBranch * |
aPrefs |
|
) |
| |
void SetUnicharPref |
( |
const char * |
aPref, |
|
|
const nsAString & |
aValue, |
|
|
nsIPrefBranch * |
aPrefs |
|
) |
| |