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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user