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

Issue 9169042: Block plugins for platform apps (Closed)

Created:
8 years, 11 months ago by benwells
Modified:
8 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org, jeremya, markusheintz_, koz (OOO until 15th September)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Block plugins for platform apps To block plugins a new content settings has been added, with the highest priority (i.e. at the front of the list). This could be used down the track to hang off more platform app specific stuff. The provider knows which platform apps have been run by watching a new notification. BUG=None TEST=Tested manually on Windows Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120541 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120742

Patch Set 1 #

Total comments: 5

Patch Set 2 : Feedback and cleanup #

Total comments: 2

Patch Set 3 : NPAPI disabling removed, now blocks all plugins #

Total comments: 2

Patch Set 4 : Nit fixed #

Patch Set 5 : Rebase #

Patch Set 6 : Fix plugin_tests on linux #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -80 lines) Patch
M chrome/browser/chrome_plugin_service_filter.h View 1 2 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/chrome_plugin_service_filter.cc View 1 2 2 chunks +0 lines, -23 lines 0 comments Download
A chrome/browser/content_settings/content_settings_platform_app_provider.h View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/content_settings/content_settings_platform_app_provider.cc View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.cc View 1 2 3 4 5 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.h View 1 2 4 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.cc View 1 2 3 chunks +0 lines, -27 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
benwells
8 years, 11 months ago (2012-01-25 08:05:30 UTC) #1
benwells
Bernhard - you're the only reviewer at the moment mainly for any feedback you have ...
8 years, 11 months ago (2012-01-25 08:07:12 UTC) #2
Bernhard Bauer
Looks pretty good in general. Some comments: http://codereview.chromium.org/9169042/diff/1/chrome/browser/content_settings/content_settings_platform_app_provider.cc File chrome/browser/content_settings/content_settings_platform_app_provider.cc (right): http://codereview.chromium.org/9169042/diff/1/chrome/browser/content_settings/content_settings_platform_app_provider.cc#newcode48 chrome/browser/content_settings/content_settings_platform_app_provider.cc:48: ResourceIdentifier("adobe-flash-player"), Can't ...
8 years, 11 months ago (2012-01-25 13:59:04 UTC) #3
Mihai Parparita -not on Chrome
http://codereview.chromium.org/9169042/diff/1/chrome/browser/ui/extensions/shell_window.cc File chrome/browser/ui/extensions/shell_window.cc (right): http://codereview.chromium.org/9169042/diff/1/chrome/browser/ui/extensions/shell_window.cc#newcode69 chrome/browser/ui/extensions/shell_window.cc:69: // Notify anyone interested that the app has started. ...
8 years, 11 months ago (2012-01-25 19:52:48 UTC) #4
benwells
Feedback addressed and some other cleanup done. http://codereview.chromium.org/9169042/diff/1/chrome/browser/content_settings/content_settings_platform_app_provider.h File chrome/browser/content_settings/content_settings_platform_app_provider.h (right): http://codereview.chromium.org/9169042/diff/1/chrome/browser/content_settings/content_settings_platform_app_provider.h#newcode40 chrome/browser/content_settings/content_settings_platform_app_provider.h:40: Value* value) ...
8 years, 11 months ago (2012-01-27 04:03:52 UTC) #5
Mihai Parparita -not on Chrome
After thinking about this more, and talking with Rahul and some security guys, can we ...
8 years, 11 months ago (2012-01-28 00:17:02 UTC) #6
benwells
On 2012/01/28 00:17:02, Mihai Parparita wrote: > After thinking about this more, and talking with ...
8 years, 10 months ago (2012-01-29 23:42:33 UTC) #7
Bernhard Bauer
On 2012/01/29 23:42:33, benwells wrote: > On 2012/01/28 00:17:02, Mihai Parparita wrote: > > After ...
8 years, 10 months ago (2012-01-30 10:25:56 UTC) #8
benwells
> Yeah, option 1 sounds good. Note though that blocking a plug-in via content > ...
8 years, 10 months ago (2012-01-30 10:37:13 UTC) #9
Bernhard Bauer
On 2012/01/30 10:37:13, benwells wrote: > > Yeah, option 1 sounds good. Note though that ...
8 years, 10 months ago (2012-01-31 11:59:03 UTC) #10
benwells
Nit fixed. I checked the right click thing, we've already killed the right click menu ...
8 years, 10 months ago (2012-02-01 02:30:34 UTC) #11
Bernhard Bauer
Sorry for the delay, this always slips under my radar :( LGTM!
8 years, 10 months ago (2012-02-02 11:33:43 UTC) #12
benwells
+sky as owner of chrome/browser/ui
8 years, 10 months ago (2012-02-02 22:44:59 UTC) #13
sky
LGTM
8 years, 10 months ago (2012-02-03 17:58:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9169042/20001
8 years, 10 months ago (2012-02-06 02:39:15 UTC) #15
commit-bot: I haz the power
Change committed as 120541
8 years, 10 months ago (2012-02-06 04:20:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/9169042/28002
8 years, 10 months ago (2012-02-07 06:35:54 UTC) #17
commit-bot: I haz the power
8 years, 10 months ago (2012-02-07 07:57:13 UTC) #18
Change committed as 120742

Powered by Google App Engine
This is Rietveld 408576698