38 #ifndef seamonkeyprofilemigrator___h___
39 #define seamonkeyprofilemigrator___h___
41 #include "nsIBrowserProfileMigrator.h"
42 #include "nsILocalFile.h"
43 #include "nsIObserverService.h"
44 #include "nsISupportsArray.h"
46 #include "nsStringAPI.h"
68 NS_DECL_NSIBROWSERPROFILEMIGRATOR
85 const nsAString& aTargetPrefFileName);
87 nsTArray<FontPref>* aPrefs);
89 nsTArray<FontPref>* aPrefs);
101 nsCOMPtr<nsISupportsArray> mProfileNames;
102 nsCOMPtr<nsISupportsArray> mProfileLocations;
103 nsCOMPtr<nsIObserverService> mObserverService;
void ReadFontsBranch(nsIPrefService *aPrefService, nsTArray< FontPref > *aPrefs)
void WriteFontsBranch(nsIPrefService *aPrefService, nsTArray< FontPref > *aPrefs)
nsresult CopyOtherData(PRBool aReplace)
NS_DECL_NSIBROWSERPROFILEMIGRATOR NS_DECL_ISUPPORTS nsSeamonkeyProfileMigrator()
nsresult CopyPasswords(PRBool aReplace)
nsresult CopyPreferences(PRBool aReplace)
static nsresult SetImage(void *aTransform, nsIPrefBranch *aBranch)
nsresult CopyHistory(PRBool aReplace)
nsresult CopyBookmarks(PRBool aReplace)
virtual ~nsSeamonkeyProfileMigrator()
nsresult CopyCookies(PRBool aReplace)
nsresult FillProfileDataFromSeamonkeyRegistry()
nsresult CopyUserContentSheet()
nsresult GetSourceProfile(const PRUnichar *aProfile)
static nsresult SetCookie(void *aTransform, nsIPrefBranch *aBranch)
nsresult LocateSignonsFile(char **aResult)
nsresult TransformPreferences(const nsAString &aSourcePrefFileName, const nsAString &aTargetPrefFileName)
static nsresult SetDownloadManager(void *aTransform, nsIPrefBranch *aBranch)