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

Issue 8334020: Check for default content setting pattern when requiring user authorization for plug-ins. (Closed)

Created:
9 years, 2 months ago by Bernhard Bauer
Modified:
9 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Check for default content setting pattern when requiring user authorization for plug-ins. We now check in the renderer if a plug-in is allowed by default, which is the case if the matching patterns are wildcards. BUG=100581 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106270

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -176 lines) Patch
M chrome/browser/content_settings/content_settings_utils.h View 1 2 1 chunk +12 lines, -5 lines 0 comments Download
M chrome/browser/content_settings/content_settings_utils.cc View 1 2 1 chunk +46 lines, -46 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.h View 1 2 3 1 chunk +18 lines, -12 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.cc View 1 2 3 3 chunks +29 lines, -45 lines 0 comments Download
M chrome/browser/extensions/extension_content_settings_store_unittest.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 2 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_ssl_helper.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/content_settings_pattern.h View 1 2 5 chunks +44 lines, -35 lines 0 comments Download
M chrome/common/content_settings_pattern.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 4 chunks +23 lines, -2 lines 0 comments Download
M chrome/common/render_messages.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 4 chunks +11 lines, -7 lines 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Bernhard Bauer
Please review. Marja: This also implements serializing ContentSettingPatterns. I'm happy to discuss the right way ...
9 years, 2 months ago (2011-10-18 16:43:40 UTC) #1
marja
http://codereview.chromium.org/8334020/diff/3001/chrome/browser/content_settings/host_content_settings_map.cc File chrome/browser/content_settings/host_content_settings_map.cc (left): http://codereview.chromium.org/8334020/diff/3001/chrome/browser/content_settings/host_content_settings_map.cc#oldcode296 chrome/browser/content_settings/host_content_settings_map.cc:296: // For simple content types, the DefaultProvider should always ...
9 years, 2 months ago (2011-10-19 07:44:31 UTC) #2
Bernhard Bauer
http://codereview.chromium.org/8334020/diff/3001/chrome/browser/content_settings/host_content_settings_map.cc File chrome/browser/content_settings/host_content_settings_map.cc (left): http://codereview.chromium.org/8334020/diff/3001/chrome/browser/content_settings/host_content_settings_map.cc#oldcode296 chrome/browser/content_settings/host_content_settings_map.cc:296: // For simple content types, the DefaultProvider should always ...
9 years, 2 months ago (2011-10-19 09:53:50 UTC) #3
marja
LGTM. http://codereview.chromium.org/8334020/diff/3001/chrome/browser/content_settings/host_content_settings_map.cc File chrome/browser/content_settings/host_content_settings_map.cc (left): http://codereview.chromium.org/8334020/diff/3001/chrome/browser/content_settings/host_content_settings_map.cc#oldcode296 chrome/browser/content_settings/host_content_settings_map.cc:296: // For simple content types, the DefaultProvider should ...
9 years, 2 months ago (2011-10-19 10:23:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/8334020/6002
9 years, 2 months ago (2011-10-19 10:27:01 UTC) #5
commit-bot: I haz the power
Try job failure for 8334020-6002 on mac_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=2580 Step "update" is always ...
9 years, 2 months ago (2011-10-19 10:29:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/8334020/6002
9 years, 2 months ago (2011-10-19 11:04:15 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-10-19 12:59:22 UTC) #8
Change committed as 106270

Powered by Google App Engine
This is Rietveld 408576698