common/public/nsIComponentManagerExtra.idl
author Geoff Lankow <geoff@darktrojan.net>
Thu, 25 Jul 2019 12:47:05 +1200
changeset 76425 613e724c44ecfad062788862e803875edfef4d03
parent 64656 7287778fe124b1e2192abc3cea6b4b1f19ecadfa
permissions -rw-r--r--
imported patch treeees

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIFile;

/**
 * Some additional methods in the same style as nsIComponentManager
 */
[scriptable, uuid(fe5948c1-458a-464f-9251-310f8535a34c)]
interface nsIComponentManagerExtra : nsISupports
{
    /**
     * Register an extension manifest. This is either the path to the unpacked extension folder, or
     * the path to the xpi file.
     *
     * @param {nsIFile} aLocation       The file pointing to the extension root
     */
    void addLegacyExtensionManifestLocation(in nsIFile aLocation);
};