An interface that describes an object representing a patch file that can
 be downloaded and applied to a version of this application so that it
 can be updated.
[scriptable, uuid(56863a67-bd69-42de-9f40-583e625b457d)]
interface nsIUpdatePatch : nsISupports

Attributes

 The URL this patch was being downloaded from
attribute AString URL
 The hash function to use when determining this file's integrity
attribute AString hashFunction
 The value of the hash function named above that should be computed if
 this file is not corrupt.
attribute AString hashValue
 true if this patch is currently selected as the patch to be downloaded and
 installed for this update transaction, false if another patch from this
 update has been selected.
attribute boolean selected
 The size of this file, in bytes.
attribute unsigned long size
 The state of this patch
attribute AString state
 The type of this patch:
 "partial"      A binary difference between two application versions
 "complete"     A complete patch containing all of the replacement files
                to update to the new version
attribute AString type

Methods

 Serializes this patch object into a DOM Element
 @param   updates
          The document to serialize into
 @returns The DOM Element created by the serialization process
nsIDOMElement serialize(in nsIDOMDocument updates)