#include "nsAppDirectoryServiceDefs.h"
#include "nsBrowserProfileMigratorUtils.h"
#include "nsDirectoryServiceDefs.h"
#include "nsDirectoryServiceUtils.h"
#include "nsDocShellCID.h"
#include "nsINavBookmarksService.h"
#include "nsBrowserCompsCID.h"
#include "nsIBrowserHistory.h"
#include "nsICookieManager2.h"
#include "nsIFileProtocolHandler.h"
#include "nsIFormHistory.h"
#include "nsIIOService.h"
#include "nsILocalFileMac.h"
#include "nsIObserverService.h"
#include "nsIPrefService.h"
#include "nsIProfileMigrator.h"
#include "nsIProtocolHandler.h"
#include "nsIRDFContainer.h"
#include "nsIRDFDataSource.h"
#include "nsIRDFRemoteDataSource.h"
#include "nsIRDFService.h"
#include "nsIServiceManager.h"
#include "nsIStringBundle.h"
#include "nsISupportsArray.h"
#include "nsISupportsPrimitives.h"
#include "nsSafariProfileMigrator.h"
#include "nsToolkitCompsCID.h"
#include "nsNetUtil.h"
#include "nsTArray.h"
#include <Carbon/Carbon.h>
Go to the source code of this file.
#define _SPM |
( |
|
type | ) |
nsSafariProfileMigrator::type |
#define CHARSET_ENTRY |
( |
|
charsetLabel, |
|
|
|
associatedLangGroup |
|
) |
| {#charsetLabel, sizeof(#charsetLabel) - 1, #charsetLabel, #associatedLangGroup} |
#define CHARSET_ENTRY2 |
( |
|
webkitLabel, |
|
|
|
mozLabel, |
|
|
|
associatedLangGroup |
|
) |
| {#webkitLabel, sizeof(#webkitLabel) - 1, #mozLabel, #associatedLangGroup} |
#define MIGRATION_BUNDLE "chrome://browser/locale/migration/migration.properties" |
#define SAFARI_BOOKMARKS_FILE_NAME NS_LITERAL_STRING("Bookmarks.plist") |
#define SAFARI_COOKIE_BEHAVIOR_FILE_NAME NS_LITERAL_STRING("com.apple.WebFoundation.plist") |
#define SAFARI_COOKIES_FILE_NAME NS_LITERAL_STRING("Cookies.plist") |
#define SAFARI_DATE_OFFSET 978307200 |
#define SAFARI_HISTORY_FILE_NAME NS_LITERAL_STRING("History.plist") |
#define SAFARI_HOME_PAGE_PREF "HomePage" |
#define SAFARI_PREFERENCES_FILE_NAME NS_LITERAL_STRING("com.apple.Safari.plist") |
CFPropertyListRef CopyPListFromFile |
( |
nsILocalFile * |
aPListFile | ) |
|
CFDictionaryRef CopySafariPrefs |
( |
| ) |
|
void FreeNullTerminatedString |
( |
char * |
aString | ) |
|
PRBool GetArrayStringValue |
( |
CFArrayRef |
aArray, |
|
|
PRInt32 |
aIndex, |
|
|
nsAString & |
aResult |
|
) |
| |
PRBool GetDictionaryCStringValue |
( |
CFDictionaryRef |
aDictionary, |
|
|
CFStringRef |
aKey, |
|
|
nsACString & |
aResult, |
|
|
CFStringEncoding |
aEncoding |
|
) |
| |
PRBool GetDictionaryStringValue |
( |
CFDictionaryRef |
aDictionary, |
|
|
CFStringRef |
aKey, |
|
|
nsAString & |
aResult |
|
) |
| |
char* GetNullTerminatedString |
( |
CFStringRef |
aStringRef | ) |
|
Initial value:= {
{ CFSTR("WebKitJavaScriptCanOpenWindowsAutomatically"),
}
static nsresult SetDownloadFolder(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 SetDefaultEncoding(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetFontSize(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetDownloadHandlers(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetBoolInverted(void *aTransform, nsIPrefBranch *aBranch)
static nsresult SetBool(void *aTransform, nsIPrefBranch *aBranch)
Definition at line 342 of file nsSafariProfileMigrator.cpp.