DescriptionCorrectly whitelist the PDF plugin in the PDF extension.
For plugins listed in
chrome/browser/resources/plugin_metadata/plugins_*.json, the resource
identifier for that plugin becomes the key used in those JSON files.
Previously, the PDF plugin filename was used as the resource identifier
to whitelist the PDF plugin within the PDF extension. This caused the
whitelisting to be ineffective for official builds and also other builds
after r316957 added an entry for the Chromium PDF Viewer plugin. This CL
fixes this by using the keys from the plugin metadata files as the
resource identifiers for whitelisting the PDF plugin.
BUG=459998
Committed: https://crrev.com/2c8ef923fc3a440aa99b09372fde8f3d0893f551
Cr-Commit-Position: refs/heads/master@{#317556}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|