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

Issue 7848025: Store plug-in enabled/disabled state in PluginPrefs instead of WebPluginInfo. (Closed)

Created:
9 years, 3 months ago by Bernhard Bauer
Modified:
9 years, 3 months ago
CC:
chromium-reviews, pam+watch_chromium.org, kkania, Paweł Hajdan Jr., jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, stuartmorgan+watch_chromium.org, Miranda Callahan
Visibility:
Public.

Description

Store plug-in enabled/disabled state in PluginPrefs instead of WebPluginInfo, to allow different sets of enabled/disabled plug-ins to be specified per profile. BUG=80794 TEST=Open two profiles, disable different plugins in them. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101269

Patch Set 1 #

Patch Set 2 : fix win compile #

Patch Set 3 : unit test #

Patch Set 4 : disable pepper flash by default #

Patch Set 5 : test fix #

Patch Set 6 : indent #

Total comments: 22

Patch Set 7 : review #

Patch Set 8 : globally disable pepper flash on every restart #

Patch Set 9 : copyright #

Unified diffs Side-by-side diffs Delta from patch set Stats (+650 lines, -1151 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/component_updater/pepper_flash_component_installer.cc View 1 2 3 4 5 6 7 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/pdf_unsupported_feature.cc View 1 2 3 4 5 6 5 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/plugin_exceptions_table_model_unittest.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/plugin_prefs.h View 1 2 3 4 5 6 7 3 chunks +56 lines, -30 lines 0 comments Download
M chrome/browser/plugin_prefs.cc View 1 2 3 4 5 6 7 13 chunks +247 lines, -107 lines 0 comments Download
A chrome/browser/plugin_prefs_unittest.cc View 1 2 3 4 5 6 7 1 chunk +160 lines, -0 lines 0 comments Download
M chrome/browser/printing/print_preview_tab_controller.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/plugins_ui.cc View 1 2 3 4 5 6 9 chunks +107 lines, -31 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -6 lines 0 comments Download
M content/common/pepper_plugin_registry.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/pepper_plugin_registry.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -12 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_group.h View 1 2 3 4 5 6 6 chunks +6 lines, -96 lines 0 comments Download
M webkit/plugins/npapi/plugin_group.cc View 7 chunks +9 lines, -357 lines 0 comments Download
M webkit/plugins/npapi/plugin_group_unittest.cc View 6 chunks +8 lines, -212 lines 0 comments Download
M webkit/plugins/npapi/plugin_lib_mac.mm View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_lib_posix.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_lib_win.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.h View 4 chunks +4 lines, -46 lines 0 comments Download
M webkit/plugins/npapi/plugin_list.cc View 9 chunks +8 lines, -105 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/npapi/plugin_list_posix.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_unittest.cc View 1 2 3 4 4 chunks +10 lines, -62 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_win.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M webkit/plugins/webplugininfo.h View 2 chunks +0 lines, -32 lines 0 comments Download
M webkit/plugins/webplugininfo.cc View 4 chunks +1 line, -10 lines 0 comments Download
M webkit/support/webkit_support_glue.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Bernhard Bauer
A'ight, this is The Big One. Please review :) John: content/ and webkit/plugins Joao: PluginPrefs, ...
9 years, 3 months ago (2011-09-12 17:39:52 UTC) #1
cpu_(ooo_6.6-7.5)
+trung
9 years, 3 months ago (2011-09-13 01:12:04 UTC) #2
jam
content/webkit lgtm. i only glanced at some of the other code http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc File chrome/browser/pdf_unsupported_feature.cc (right): ...
9 years, 3 months ago (2011-09-13 01:47:30 UTC) #3
Joao da Silva
http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc File chrome/browser/pdf_unsupported_feature.cc (right): http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc#newcode12 chrome/browser/pdf_unsupported_feature.cc:12: #include "chrome/browser/chrome_plugin_service_filter.h" Nit: this line is out of place, ...
9 years, 3 months ago (2011-09-13 09:30:47 UTC) #4
Bernhard Bauer
http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc File chrome/browser/pdf_unsupported_feature.cc (right): http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc#newcode12 chrome/browser/pdf_unsupported_feature.cc:12: #include "chrome/browser/chrome_plugin_service_filter.h" On 2011/09/13 09:30:48, Joao da Silva wrote: ...
9 years, 3 months ago (2011-09-13 12:13:00 UTC) #5
Joao da Silva
LGTM regarding policy. Let's fix the whitelist/outdated/dangerous plugins interaction once this is in.
9 years, 3 months ago (2011-09-13 13:18:10 UTC) #6
Pam (message me for reviews)
Drive-by review: Please add a clause or two to the CL description explaining why this ...
9 years, 3 months ago (2011-09-13 13:28:27 UTC) #7
jam
http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc File chrome/browser/pdf_unsupported_feature.cc (right): http://codereview.chromium.org/7848025/diff/9001/chrome/browser/pdf_unsupported_feature.cc#newcode122 chrome/browser/pdf_unsupported_feature.cc:122: plugin_prefs->EnablePluginGroup( On 2011/09/13 12:13:01, Bernhard Bauer wrote: > On ...
9 years, 3 months ago (2011-09-13 15:58:13 UTC) #8
cpu_(ooo_6.6-7.5)
Flapper is experimental and highly prone to breakage, that is when chrome upgrades the previously ...
9 years, 3 months ago (2011-09-13 22:20:51 UTC) #9
Bernhard Bauer
On 2011/09/13 22:20:51, cpu wrote: > Flapper is experimental and highly prone to breakage, that ...
9 years, 3 months ago (2011-09-14 16:53:46 UTC) #10
cpu_(ooo_6.6-7.5)
9 years, 3 months ago (2011-09-15 06:27:48 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698