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

Issue 1084123002: Make DETECT_IMPORTANT_CONTENT the default Plugins content setting based (Closed)

Created:
5 years, 8 months ago by Dan Beam
Modified:
5 years, 8 months ago
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-options_chromium.org, jam, markusheintz_, michaelpg+watch-options_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make DETECT_IMPORTANT_CONTENT the default Plugins content setting based on the results of a FieldTrial (also flags). Still respect the user's choice when they've explicitly chosen an alternative (e.g. they chose to BLOCK all plugins). R=tommycli@chromium.org,bauerb@chromium.org,jochen@chromium.org TBR=markusheintz@chromium.org BUG=476742 Committed: https://crrev.com/155ac97a453b6faf109949ed5319a90e759af9d2 Cr-Commit-Position: refs/heads/master@{#325846}

Patch Set 1 #

Total comments: 1

Patch Set 2 : gn fixes #

Total comments: 11

Patch Set 3 : bauerb@ review #

Total comments: 2

Patch Set 4 : gyp shuffle for ios #

Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -176 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/plugins/plugins_field_trial.h View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/plugins/plugins_field_trial.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M chrome/browser/resources/options/content_settings.js View 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 4 chunks +3 lines, -8 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M components/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 chunks +3 lines, -0 lines 0 comments Download
M components/content_settings.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/BUILD.gn View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/DEPS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/content_settings_default_provider.cc View 1 2 12 chunks +49 lines, -41 lines 0 comments Download
A + components/content_settings/core/browser/plugins_field_trial.h View 1 1 chunk +14 lines, -6 lines 0 comments Download
A components/content_settings/core/browser/plugins_field_trial.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A components/content_settings/core/browser/plugins_field_trial_unittest.cc View 1 2 3 1 chunk +97 lines, -0 lines 0 comments Download
M components/plugins.gypi View 1 2 3 1 chunk +42 lines, -24 lines 0 comments Download
A + components/plugins/common/BUILD.gn View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
A components/plugins/common/plugins_switches.h View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A components/plugins/common/plugins_switches.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
Dan Beam
still WIP, will add reviewer when ready https://codereview.chromium.org/1084123002/diff/1/components/content_settings/core/browser/content_settings_default_provider.cc File components/content_settings/core/browser/content_settings_default_provider.cc (right): https://codereview.chromium.org/1084123002/diff/1/components/content_settings/core/browser/content_settings_default_provider.cc#newcode44 components/content_settings/core/browser/content_settings_default_provider.cc:44: PluginsFieldTrial::GetDefaultPluginsContentSetting()}, for ...
5 years, 8 months ago (2015-04-15 03:36:23 UTC) #2
Dan Beam
Hey all, Markus/Bernhard: you both own lots of this code, but this diverges for small ...
5 years, 8 months ago (2015-04-16 18:58:16 UTC) #9
Bernhard Bauer
LGTM w/ nits: https://codereview.chromium.org/1084123002/diff/140001/components/content_settings/core/browser/content_settings_default_provider.cc File components/content_settings/core/browser/content_settings_default_provider.cc (right): https://codereview.chromium.org/1084123002/diff/140001/components/content_settings/core/browser/content_settings_default_provider.cc#newcode45 components/content_settings/core/browser/content_settings_default_provider.cc:45: {prefs::kDefaultPluginsSetting, CONTENT_SETTING_NUM_SETTINGS}, // Dynamic. Nit: We ...
5 years, 8 months ago (2015-04-17 15:59:35 UTC) #10
tommycli
lgtm sans some nits below: https://codereview.chromium.org/1084123002/diff/140001/chrome/browser/plugins/plugins_field_trial_browsertest.cc File chrome/browser/plugins/plugins_field_trial_browsertest.cc (right): https://codereview.chromium.org/1084123002/diff/140001/chrome/browser/plugins/plugins_field_trial_browsertest.cc#newcode36 chrome/browser/plugins/plugins_field_trial_browsertest.cc:36: IN_PROC_BROWSER_TEST_F(PluginsFieldTrialPrefTest, EnableFieldTrialNoPrefSet) { It ...
5 years, 8 months ago (2015-04-17 17:03:57 UTC) #11
Dan Beam
https://codereview.chromium.org/1084123002/diff/140001/chrome/browser/plugins/plugins_field_trial_browsertest.cc File chrome/browser/plugins/plugins_field_trial_browsertest.cc (right): https://codereview.chromium.org/1084123002/diff/140001/chrome/browser/plugins/plugins_field_trial_browsertest.cc#newcode36 chrome/browser/plugins/plugins_field_trial_browsertest.cc:36: IN_PROC_BROWSER_TEST_F(PluginsFieldTrialPrefTest, EnableFieldTrialNoPrefSet) { On 2015/04/17 17:03:56, tommycli wrote: > ...
5 years, 8 months ago (2015-04-18 19:37:35 UTC) #12
Dan Beam
+jochen@ for components/components.gyp, chrome/chrome_browser.gypi, chrome/browser/BUILD.gn moving markusheintz@ to TBR
5 years, 8 months ago (2015-04-19 03:57:51 UTC) #18
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-04-20 06:48:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1084123002/220001
5 years, 8 months ago (2015-04-20 14:21:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1084123002/220001
5 years, 8 months ago (2015-04-20 15:33:41 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:220001)
5 years, 8 months ago (2015-04-20 15:35:10 UTC) #26
commit-bot: I haz the power
5 years, 8 months ago (2015-04-20 15:36:19 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/155ac97a453b6faf109949ed5319a90e759af9d2
Cr-Commit-Position: refs/heads/master@{#325846}

Powered by Google App Engine
This is Rietveld 408576698