DescriptionChange the web store private install API to accept a localized extension name.
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.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86780
Patch Set 1 #
Total comments: 16
Patch Set 2 : addressed comments and fixed unit test compile error #Patch Set 3 : rebased, removed test files I added in separate CL #Messages
Total messages: 4 (0 generated)
|