Implementing XPInstall Signing. sr=dveditz, r=mstoltz, b=178687

git-svn-id: svn://10.0.0.236/trunk@135374 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-12-17 00:59:42 +00:00
parent 0b701faeb3
commit c57ad9b1ea
24 changed files with 671 additions and 26 deletions

View File

@@ -299,6 +299,7 @@ NS_IMETHODIMP
nsSoftwareUpdate::InstallJar( nsIFile* aLocalFile,
const PRUnichar* aURL,
const PRUnichar* aArguments,
nsIPrincipal* aPrincipal,
PRUint32 flags,
nsIXPIListener* aListener)
{
@@ -316,7 +317,7 @@ nsSoftwareUpdate::InstallJar( nsIFile* aLocalFile,
chromeRegistry = tmpReg;
// we want to call this with or without a chrome registry
nsInstallInfo *info = new nsInstallInfo( 0, aLocalFile, aURL, aArguments,
nsInstallInfo *info = new nsInstallInfo( 0, aLocalFile, aURL, aArguments, aPrincipal,
flags, aListener, chromeRegistry );
if (!info)
@@ -351,6 +352,7 @@ nsSoftwareUpdate::InstallChrome( PRUint32 aType,
aFile,
URL,
aName,
nsnull,
(PRUint32)aSelect,
aListener,
chromeRegistry);