nsSeamonkeyProfileMigrator.cpp File Reference
#include "nsBrowserProfileMigratorUtils.h"
#include "nsDirectoryServiceDefs.h"
#include "nsIObserverService.h"
#include "nsILoginInfo.h"
#include "nsILoginManager.h"
#include "nsILoginManagerStorage.h"
#include "nsIPrefLocalizedString.h"
#include "nsIPrefService.h"
#include "nsIServiceManager.h"
#include "nsISupportsArray.h"
#include "nsISupportsPrimitives.h"
#include "nsNetCID.h"
#include "nsNetUtil.h"
#include "nsSeamonkeyProfileMigrator.h"
#include "nsIProfileMigrator.h"
Include dependency graph for nsSeamonkeyProfileMigrator.cpp:

Go to the source code of this file.

Macros

#define FILE_NAME_BOOKMARKS   NS_LITERAL_STRING("bookmarks.html")
 
#define FILE_NAME_COOKIES   NS_LITERAL_STRING("cookies.txt")
 
#define FILE_NAME_SITEPERM_OLD   NS_LITERAL_STRING("cookperm.txt")
 
#define FILE_NAME_SITEPERM_NEW   NS_LITERAL_STRING("hostperm.1")
 
#define FILE_NAME_CERT8DB   NS_LITERAL_STRING("cert8.db")
 
#define FILE_NAME_KEY3DB   NS_LITERAL_STRING("key3.db")
 
#define FILE_NAME_SECMODDB   NS_LITERAL_STRING("secmod.db")
 
#define FILE_NAME_HISTORY   NS_LITERAL_STRING("history.dat")
 
#define FILE_NAME_MIMETYPES   NS_LITERAL_STRING("mimeTypes.rdf")
 
#define FILE_NAME_DOWNLOADS   NS_LITERAL_STRING("downloads.rdf")
 
#define FILE_NAME_PREFS   NS_LITERAL_STRING("prefs.js")
 
#define FILE_NAME_USER_PREFS   NS_LITERAL_STRING("user.js")
 
#define FILE_NAME_USERCONTENT   NS_LITERAL_STRING("userContent.css")
 
#define DIR_NAME_CHROME   NS_LITERAL_STRING("chrome")
 
#define F(a)   nsSeamonkeyProfileMigrator::a
 
#define MAKEPREFTRANSFORM(pref, newpref, getmethod, setmethod)   { pref, newpref, F(Get##getmethod), F(Set##setmethod), PR_FALSE, { -1 } }
 
#define MAKESAMETYPEPREFTRANSFORM(pref, method)   { pref, 0, F(Get##method), F(Set##method), PR_FALSE, { -1 } }
 

Variables

static
nsSeamonkeyProfileMigrator::PrefTransform 
gTransforms []
 

Macro Definition Documentation

#define DIR_NAME_CHROME   NS_LITERAL_STRING("chrome")

Definition at line 70 of file nsSeamonkeyProfileMigrator.cpp.

#define F (   a)    nsSeamonkeyProfileMigrator::a

Definition at line 340 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_BOOKMARKS   NS_LITERAL_STRING("bookmarks.html")

Definition at line 57 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_CERT8DB   NS_LITERAL_STRING("cert8.db")

Definition at line 61 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_COOKIES   NS_LITERAL_STRING("cookies.txt")

Definition at line 58 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_DOWNLOADS   NS_LITERAL_STRING("downloads.rdf")

Definition at line 66 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_HISTORY   NS_LITERAL_STRING("history.dat")

Definition at line 64 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_KEY3DB   NS_LITERAL_STRING("key3.db")

Definition at line 62 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_MIMETYPES   NS_LITERAL_STRING("mimeTypes.rdf")

Definition at line 65 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_PREFS   NS_LITERAL_STRING("prefs.js")

Definition at line 67 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_SECMODDB   NS_LITERAL_STRING("secmod.db")

Definition at line 63 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_SITEPERM_NEW   NS_LITERAL_STRING("hostperm.1")

Definition at line 60 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_SITEPERM_OLD   NS_LITERAL_STRING("cookperm.txt")

Definition at line 59 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_USER_PREFS   NS_LITERAL_STRING("user.js")

Definition at line 68 of file nsSeamonkeyProfileMigrator.cpp.

#define FILE_NAME_USERCONTENT   NS_LITERAL_STRING("userContent.css")

Definition at line 69 of file nsSeamonkeyProfileMigrator.cpp.

#define MAKEPREFTRANSFORM (   pref,
  newpref,
  getmethod,
  setmethod 
)    { pref, newpref, F(Get##getmethod), F(Set##setmethod), PR_FALSE, { -1 } }

Definition at line 342 of file nsSeamonkeyProfileMigrator.cpp.

#define MAKESAMETYPEPREFTRANSFORM (   pref,
  method 
)    { pref, 0, F(Get##method), F(Set##method), PR_FALSE, { -1 } }

Definition at line 345 of file nsSeamonkeyProfileMigrator.cpp.

Variable Documentation

Definition at line 350 of file nsSeamonkeyProfileMigrator.cpp.