#include <stdio.h>
#include <string.h>
#include <windows.h>
#include "nsAppDirectoryServiceDefs.h"
#include "nsBrowserProfileMigratorUtils.h"
#include "nsCOMPtr.h"
#include "nsCRTGlue.h"
#include "nsNetCID.h"
#include "nsDocShellCID.h"
#include "nsDebug.h"
#include "nsDirectoryServiceDefs.h"
#include "nsDirectoryServiceUtils.h"
#include "nsStringAPI.h"
#include "plstr.h"
#include "prio.h"
#include "prmem.h"
#include "prlong.h"
#include "nsICookieManager2.h"
#include "nsIEProfileMigrator.h"
#include "nsIFile.h"
#include "nsILocalFile.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsISimpleEnumerator.h"
#include "nsISupportsArray.h"
#include "nsIProfileMigrator.h"
#include "nsIBrowserProfileMigrator.h"
#include "nsIObserverService.h"
#include "nsILocalFileWin.h"
#include "nsAutoPtr.h"
#include <objbase.h>
#include <shlguid.h>
#include <urlhist.h>
#include <comdef.h>
#include <shlobj.h>
#include <intshcut.h>
#include "nsIBrowserHistory.h"
#include "nsIGlobalHistory.h"
#include "nsIRDFRemoteDataSource.h"
#include "nsIURI.h"
#include "nsILoginManagerIEMigrationHelper.h"
#include "nsILoginInfo.h"
#include "nsIFormHistory.h"
#include "nsIRDFService.h"
#include "nsIRDFContainer.h"
#include "nsIURL.h"
#include "nsINavBookmarksService.h"
#include "nsBrowserCompsCID.h"
#include "nsIStringBundle.h"
#include "nsNetUtil.h"
#include "nsToolkitCompsCID.h"
#include "nsUnicharUtils.h"
#include "nsIWindowsRegKey.h"
#include "nsISupportsPrimitives.h"
Go to the source code of this file.
|
void __stdcall | _com_issue_error (HRESULT hr) |
|
void | TranslateYNtoTF (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateYNtoFT (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateYNtoImageBehavior (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateDWORDtoHTTPVersion (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateDRGBtoHRGB (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateDWORDtoPRInt32 (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateString (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
void | TranslateLanglist (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
static int CALLBACK | fontEnumProc (const LOGFONTW *aLogFont, const TEXTMETRICW *aMetric, DWORD aFontType, LPARAM aClosure) |
|
void | TranslatePropFont (nsIWindowsRegKey *aRegKey, const nsString &aRegValueName, nsIPrefBranch *aPrefs, char *aPrefKeyName) |
|
| NS_IMPL_ISUPPORTS2 (nsIEProfileMigrator, nsIBrowserProfileMigrator, nsINavHistoryBatchCallback) |
|
|
const int | sInitialCookieBufferSize = 1024 |
|
const int | sUsernameLengthLimit = 80 |
|
const int | sHostnameLengthLimit = 255 |
|
const regEntry | gRegEntries [] |
|
static GUID | IEPStoreAutocompGUID = { 0xe161255a, 0x37c3, 0x11d2, { 0xbc, 0xaa, 0x00, 0xc0, 0x4f, 0xd9, 0x29, 0xdb } } |
|
static GUID | IEPStoreSiteAuthGUID = { 0x5e7e8100, 0x9138, 0x11d1, { 0x94, 0x5a, 0x00, 0xc0, 0x4f, 0xc3, 0x08, 0xff } } |
|
#define REGISTRY_IE_MAIN_KEY NS_LITERAL_STRING("Software\\Microsoft\\Internet Explorer\\Main") |
#define REGISTRY_IE_SEARCHURL_KEY NS_LITERAL_STRING("Software\\Microsoft\\Internet Explorer\\SearchUrl") |
#define REGISTRY_IE_TOOLBAR_KEY NS_LITERAL_STRING("Software\\Microsoft\\Internet Explorer\\Toolbar") |
#define REGISTRY_IE_TYPEDURL_KEY NS_LITERAL_STRING("Software\\Microsoft\\Internet Explorer\\TypedURLs") |
#define TRIDENTPROFILE_BUNDLE "chrome://browser/locale/migration/migration.properties" |
typedef HRESULT(WINAPI * PStoreCreateInstancePtr)(IPStore **, DWORD, DWORD, DWORD) |
typedef void(* regEntryHandler)(nsIWindowsRegKey *, const nsString &, nsIPrefBranch *, char *) |
void __stdcall _com_issue_error |
( |
HRESULT |
hr | ) |
|
static int CALLBACK fontEnumProc |
( |
const LOGFONTW * |
aLogFont, |
|
|
const TEXTMETRICW * |
aMetric, |
|
|
DWORD |
aFontType, |
|
|
LPARAM |
aClosure |
|
) |
| |
|
static |
void TranslateDRGBtoHRGB |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateDWORDtoHTTPVersion |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateDWORDtoPRInt32 |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateLanglist |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslatePropFont |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateString |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateYNtoFT |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateYNtoImageBehavior |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
void TranslateYNtoTF |
( |
nsIWindowsRegKey * |
aRegKey, |
|
|
const nsString & |
aRegValueName, |
|
|
nsIPrefBranch * |
aPrefs, |
|
|
char * |
aPrefKeyName |
|
) |
| |
GUID IEPStoreAutocompGUID = { 0xe161255a, 0x37c3, 0x11d2, { 0xbc, 0xaa, 0x00, 0xc0, 0x4f, 0xd9, 0x29, 0xdb } } |
|
static |
GUID IEPStoreSiteAuthGUID = { 0x5e7e8100, 0x9138, 0x11d1, { 0x94, 0x5a, 0x00, 0xc0, 0x4f, 0xc3, 0x08, 0xff } } |
|
static |
const int sHostnameLengthLimit = 255 |
const int sInitialCookieBufferSize = 1024 |
const int sUsernameLengthLimit = 80 |