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 2882133002: Block insecure pepper media requests in the renderer (Closed)

Created:
3 years, 7 months ago by raymes
Modified:
3 years, 7 months ago
Reviewers:
bbudge, alexmos
CC:
chromium-reviews, posciak+watch_chromium.org, jam, darin-cc_chromium.org, mlamouri+watch-content_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Block insecure pepper media requests in the renderer This adds a feature flag which (when enabled) blocks pepper plugin media (camera and mic) requests from insecure origins. A console message is logged in those cases. These checks happen in the renderer, but checks will also be added to the browser in a followup. BUG=526324 Review-Url: https://codereview.chromium.org/2882133002 Cr-Commit-Position: refs/heads/master@{#472299} Committed: https://chromium.googlesource.com/chromium/src/+/517cdca479804e38de1a433bf08e41c3bf567698

Patch Set 1 #

Patch Set 2 : Block insecure pepper media requests #

Patch Set 3 : Block insecure pepper media requests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -29 lines) Patch
M content/public/common/content_features.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_audio_input_host.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_camera_device_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_media_device_manager.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_media_device_manager.cc View 1 2 3 chunks +28 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input.h View 3 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_platform_audio_input.cc View 5 chunks +1 line, -5 lines 0 comments Download
M content/renderer/pepper/pepper_platform_camera_device.h View 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/pepper/pepper_platform_camera_device.cc View 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/pepper/pepper_platform_video_capture.h View 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/pepper/pepper_platform_video_capture.cc View 2 chunks +1 line, -5 lines 0 comments Download
M content/renderer/pepper/pepper_video_capture_host.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.cc View 2 chunks +9 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (12 generated)
raymes
bbudge: could you ptal? None of the code here is tested so it's difficult to ...
3 years, 7 months ago (2017-05-15 01:52:03 UTC) #3
raymes
+alexmos for content/
3 years, 7 months ago (2017-05-16 01:30:05 UTC) #9
raymes
On 2017/05/16 01:30:05, raymes wrote: > +alexmos for content/ Sorry - specifically for content/public/common/content_features.h bbudge ...
3 years, 7 months ago (2017-05-16 01:30:42 UTC) #10
alexmos
content/public/common LGTM
3 years, 7 months ago (2017-05-16 04:27:00 UTC) #11
bbudge
On 2017/05/15 01:52:03, raymes wrote: > bbudge: could you ptal? None of the code here ...
3 years, 7 months ago (2017-05-16 18:20:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2882133002/40001
3 years, 7 months ago (2017-05-16 22:27:08 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/427859) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-16 23:17:26 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2882133002/40001
3 years, 7 months ago (2017-05-16 23:33:21 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 03:05:43 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/517cdca479804e38de1a433bf08e...

Powered by Google App Engine
This is Rietveld 408576698