• asargent@chromium.org's avatar
    Change the web store private install API to accept a localized extension name. · ad93c6ba
    asargent@chromium.org authored
    In our initial design of the beginInstallWithManifest function, we forgot that
    some extensions have a name which needs token substitution for i18n/l10n. This
    change renames beginInstallWithManifest to beginInstallWithManifest2, and
    modifies the signature to take optional localizedName and locale parameters.
    
    I also refactored how we compare the passed in manifest used in the
    pre-download confirmation dialog - we now keep a copy of the source from the
    .crx file to compare against, since i18n substututions can happen on the
    manifest we use to construct the Extension object.
    
    BUG=75821
    TEST=Covered by browser tests for now; will require web store server-side
    changes before it can be manually tested.
    
    Review URL: http://codereview.chromium.org/6992047
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86780 0039d316-1c4b-4281-b951-d872f2087c98
    ad93c6ba
extension_api.json 213 KB