From 9a53d8dd5b44b4d63f8890f03c4fb6e134b824d8 Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Fri, 21 May 2004 09:45:55 +0000 Subject: [PATCH] 237241 - form history not imported by phoenix profile migrator. git-svn-id: svn://10.0.0.236/trunk@156695 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/migration/src/nsPhoenixProfileMigrator.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/browser/components/migration/src/nsPhoenixProfileMigrator.cpp b/mozilla/browser/components/migration/src/nsPhoenixProfileMigrator.cpp index 91b474114fb..467906b404e 100644 --- a/mozilla/browser/components/migration/src/nsPhoenixProfileMigrator.cpp +++ b/mozilla/browser/components/migration/src/nsPhoenixProfileMigrator.cpp @@ -59,6 +59,7 @@ #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_FORMHISTORY NS_LITERAL_STRING("formhistory.dat") #define FILE_NAME_LOCALSTORE NS_LITERAL_STRING("localstore.rdf") #define FILE_NAME_MIMETYPES NS_LITERAL_STRING("mimeTypes.rdf") #define FILE_NAME_DOWNLOADS NS_LITERAL_STRING("downloads.rdf") @@ -152,6 +153,9 @@ nsPhoenixProfileMigrator::GetMigrateData(const PRUnichar* aProfile, nsIBrowserProfileMigrator::OTHERDATA, PR_TRUE }, { ToNewUnicode(FILE_NAME_USERCONTENT), + nsIBrowserProfileMigrator::OTHERDATA, + PR_TRUE }, + { ToNewUnicode(FILE_NAME_FORMHISTORY), nsIBrowserProfileMigrator::OTHERDATA, PR_TRUE } }; @@ -408,6 +412,7 @@ nsPhoenixProfileMigrator::CopyOtherData(PRBool aReplace) rv |= CopyFile(FILE_NAME_DOWNLOADS, FILE_NAME_DOWNLOADS); rv |= CopyFile(FILE_NAME_SEARCH, FILE_NAME_SEARCH); rv |= CopyFile(FILE_NAME_LOCALSTORE, FILE_NAME_LOCALSTORE); + rv |= CopyFile(FILE_NAME_FORMHISTORY, FILE_NAME_FORMHISTORY); return rv; }