Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Issue 956163002: Correctly whitelist the PDF plugin in the PDF extension. (Closed)

Created:
5 years, 10 months ago by Sam McNally
Modified:
5 years, 10 months ago
Reviewers:
raymes
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, markusheintz_, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@2311
Target Ref:
refs/pending/branch-heads/2311
Project:
chromium
Visibility:
Public.

Description

Correctly 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 Review URL: https://codereview.chromium.org/946293002 Cr-Commit-Position: refs/heads/master@{#317556} (cherry picked from commit 2c8ef923fc3a440aa99b09372fde8f3d0893f551) TBR=raymes@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/41d95e3d4adb034a9f453f5b7f7100ee3de84c30

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M chrome/browser/content_settings/content_settings_internal_extension_provider.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/pdf/pdf_extension_util.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/pdf/pdf_extension_util.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Sam McNally
5 years, 10 months ago (2015-02-26 02:04:47 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
41d95e3d4adb034a9f453f5b7f7100ee3de84c30 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698