Bug 584981 mark deprecated extension manager interfaces and methods with [deprecated]
authortimeless@mozdev.org
Wed, 08 Dec 2010 11:02:39 +0100
changeset 58882 c018e8495d32efa117e4a8e390aa963eb9aa475a
parent 58881 2690831325004a0f53318931f1ad1fddbd4fba2a
child 58883 efcc5c73f0f4d524f195c8269e3c5b3b5d72dffe
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs584981
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 584981 mark deprecated extension manager interfaces and methods with [deprecated] r=mossop
toolkit/mozapps/extensions/amIInstallTrigger.idl
--- a/toolkit/mozapps/extensions/amIInstallTrigger.idl
+++ b/toolkit/mozapps/extensions/amIInstallTrigger.idl
@@ -67,20 +67,21 @@ interface amIInstallTrigger : nsISupport
    * Retained for backwards compatibility.
    */
   const PRUint32 SKIN    = 1;
   const PRUint32 LOCALE  = 2;
   const PRUint32 CONTENT = 4;
   const PRUint32 PACKAGE = 7;
 
   /**
-   * Tests if installation is enabled. This method is deprecated, please use
-   * "enabled" in the future.
+   * Tests if installation is enabled.
+   *
+   * @deprecated Use "enabled" in the future.
    */
-  boolean updateEnabled();
+  [deprecated] boolean updateEnabled();
 
   /**
    * Tests if installation is enabled.
    */
   boolean enabled();
 
   /**
    * Starts a new installation of a set of add-ons.
@@ -109,19 +110,20 @@ interface amIInstallTrigger : nsISupport
    *         The URL of the add-on
    * @param  aSkin
    *         Unused, retained for backwards compatibility
    * @return true if the installation was successfully started
    */
   boolean installChrome(in PRUint32 aType, in AString aUrl, in AString aSkin);
 
   /**
-   * Starts installing a new add-on. This method is deprecated, please use
-   * "install" in the future.
+   * Starts installing a new add-on.
+   *
+   * @deprecated use "install" in the future.
    *
    * @param  aUrl
    *         The URL of the add-on
    * @param  aFlags
    *         Unused, retained for backwards compatibility
    * @return true if the installation was successfully started
    */
-  boolean startSoftwareUpdate(in AString aUrl, [optional] in PRInt32 aFlags);
+  [deprecated] boolean startSoftwareUpdate(in AString aUrl, [optional] in PRInt32 aFlags);
 };