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

Issue 930243008: Enable NPAPI plugins if any plugin policies are set. (Closed)

Created:
5 years, 10 months ago by Will Harris
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable NPAPI plugins if any plugin policies are set. Once NPAPI is pushed behind a flag in M42, enterprise polices that are set need to re-enable NPAPI plugins correctly. This CL covers all the policy cases and is intended to be a wide net to catch any/all policies. We don't particularly mind if this has a few false positives, because NPAPI will be totally gone soon. BUG=295137 TEST=Set e.g. EnabledPlugins policy. Check that NPAPI plugins are listed in chrome://plugins Committed: https://crrev.com/a79d102fed6a32ad05901ff9eb2fa8b9241639fd Cr-Commit-Position: refs/heads/master@{#317329}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : add brackets #

Patch Set 4 : fixes #

Patch Set 5 : DownloadContentTest.DownloadOctetStream should use a fake PEPPER plugin. This test was never doing anything previously. #

Total comments: 4

Patch Set 6 : fix nits. fix failing test. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -17 lines) Patch
M chrome/browser/plugins/plugin_prefs_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/policy/chrome_browser_policy_connector.h View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/policy/chrome_browser_policy_connector.cc View 1 2 3 4 5 4 chunks +20 lines, -2 lines 1 comment Download
M content/browser/download/download_browsertest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 4 5 3 chunks +19 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Will Harris
jam@chromium.org: Please review changes in content/ atwilson@chromium.org: Please review changes in chrome/browser/policy/
5 years, 10 months ago (2015-02-19 22:07:06 UTC) #2
jam
lgtm https://codereview.chromium.org/930243008/diff/80001/chrome/browser/policy/chrome_browser_policy_connector.cc File chrome/browser/policy/chrome_browser_policy_connector.cc (right): https://codereview.chromium.org/930243008/diff/80001/chrome/browser/policy/chrome_browser_policy_connector.cc#newcode149 chrome/browser/policy/chrome_browser_policy_connector.cc:149: const std::string pluginPolicies[] = { key::kEnabledPlugins, nit: plugin_policies ...
5 years, 10 months ago (2015-02-19 23:46:48 UTC) #3
Will Harris
done. atwilson@ PTAL at the policy parts. Thanks. https://codereview.chromium.org/930243008/diff/80001/chrome/browser/policy/chrome_browser_policy_connector.cc File chrome/browser/policy/chrome_browser_policy_connector.cc (right): https://codereview.chromium.org/930243008/diff/80001/chrome/browser/policy/chrome_browser_policy_connector.cc#newcode149 chrome/browser/policy/chrome_browser_policy_connector.cc:149: const ...
5 years, 10 months ago (2015-02-20 03:55:50 UTC) #5
Andrew T Wilson (Slow)
lgtm https://codereview.chromium.org/930243008/diff/100001/chrome/browser/policy/chrome_browser_policy_connector.cc File chrome/browser/policy/chrome_browser_policy_connector.cc (right): https://codereview.chromium.org/930243008/diff/100001/chrome/browser/policy/chrome_browser_policy_connector.cc#newcode153 chrome/browser/policy/chrome_browser_policy_connector.cc:153: key::kDisabledPlugins }; I suspect checking DisabledPlugins is not ...
5 years, 10 months ago (2015-02-20 10:28:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/930243008/100001
5 years, 10 months ago (2015-02-20 15:12:34 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-20 16:13:25 UTC) #9
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 16:14:02 UTC) #10
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a79d102fed6a32ad05901ff9eb2fa8b9241639fd
Cr-Commit-Position: refs/heads/master@{#317329}

Powered by Google App Engine
This is Rietveld 408576698