canmove, Confirmed users
1,570
edits
| Line 74: | Line 74: | ||
Once download is complete <code>nsXPInstallManager</code> will call <code>nsIExtensionManager.installItemFromFile</code> to perform the actual install of the <code>XPI</code> file. | Once download is complete <code>nsXPInstallManager</code> will call <code>nsIExtensionManager.installItemFromFile</code> to perform the actual install of the <code>XPI</code> file. | ||
===Upgrades=== | |||
When installing updates to add-ons through the UI, and to a certain extent new items, <code>nsIExtensionManager.addDownloads</code> should be called with the list of items to be installed. This will create a new instance of <code>nsXPInstallManager</code> to download and verify the signature for the items. Once downloaded as above this will call <code>nsIExtensionManager.installItemFromFile</code> to install the file. | |||
==User Interactions== | ==User Interactions== | ||
The user interacts with the extension manager through the add-ons manager UI. The UI is built using raw access to the underlying <code>ExtensionsDataSource</code> with a, RDF template. | |||
=Actions During Startup= | =Actions During Startup= | ||