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

Issue 933093002: Ensure streams aren't intercepted unless their associated plugin is enabled (Closed)

Created:
5 years, 10 months ago by raymes
Modified:
5 years, 10 months ago
Reviewers:
Lei Zhang, Sam McNally, jam
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure streams aren't intercepted unless their associated plugin is enabled Previously streams would be intercepted even if the MimeHandlerView plugin associated with them was disabled which would prevent the resource from being download if a plugin wasn't being enabled to handle it. BUG=459383 Committed: https://crrev.com/553cec8b3c449a02a69a1663f5fb077f3abefba2 Cr-Commit-Position: refs/heads/master@{#317673}

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 4 4 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
raymes
5 years, 10 months ago (2015-02-18 01:46:57 UTC) #2
Sam McNally
LGTM https://codereview.chromium.org/933093002/diff/1/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/933093002/diff/1/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode217 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:217: bool found = content::PluginService::GetInstance()->GetPluginInfoByPath( if (!content::PluginService::GetInstance()->GetPluginInfoByPath( https://codereview.chromium.org/933093002/diff/1/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode231 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:231: ...
5 years, 10 months ago (2015-02-18 03:32:16 UTC) #3
raymes
+thestig@chromium.org for OWNERS (I don't know of anyone better for this but if you do ...
5 years, 10 months ago (2015-02-18 04:03:04 UTC) #6
Lei Zhang
lgtm https://codereview.chromium.org/933093002/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/933093002/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode233 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:233: if (!PluginPrefs::GetForProfile(Profile::FromBrowserContext( You can just return the IsPluginEnabled() ...
5 years, 10 months ago (2015-02-18 04:24:18 UTC) #7
raymes
https://codereview.chromium.org/933093002/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/933093002/diff/20001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode233 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:233: if (!PluginPrefs::GetForProfile(Profile::FromBrowserContext( On 2015/02/18 04:24:18, Lei Zhang (Soon to ...
5 years, 10 months ago (2015-02-18 21:24:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933093002/40001
5 years, 10 months ago (2015-02-18 21:25:42 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/26679)
5 years, 10 months ago (2015-02-18 22:39:13 UTC) #13
raymes
Please take another look. I had to rework this patch because the other one required ...
5 years, 10 months ago (2015-02-23 00:17:57 UTC) #14
Sam McNally
lgtm https://codereview.chromium.org/933093002/diff/60001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/933093002/diff/60001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode223 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:223: url, mime_type, true, &plugins, nullptr); This looks like ...
5 years, 10 months ago (2015-02-23 00:38:35 UTC) #15
raymes
https://codereview.chromium.org/933093002/diff/60001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/933093002/diff/60001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode223 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:223: url, mime_type, true, &plugins, nullptr); On 2015/02/23 00:38:35, Sam ...
5 years, 10 months ago (2015-02-23 02:26:13 UTC) #17
raymes
+jam for OWNERS thestig@ is out and jochen@ is slow.
5 years, 10 months ago (2015-02-23 02:29:37 UTC) #19
jam
lgtm
5 years, 10 months ago (2015-02-23 16:54:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933093002/80001
5 years, 10 months ago (2015-02-23 21:51:58 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-23 23:02:29 UTC) #23
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 23:03:39 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/553cec8b3c449a02a69a1663f5fb077f3abefba2
Cr-Commit-Position: refs/heads/master@{#317673}

Powered by Google App Engine
This is Rietveld 408576698