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

Issue 2849163003: media: Move the callsite of CdmHostFiles::InitVerification() (Closed)

Created:
3 years, 7 months ago by xhwang
Modified:
3 years, 7 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, Greg K
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Move the callsite of CdmHostFiles::InitVerification() Previously CdmHostFiles::InitVerification() was called within the sandbox which doesn't work well on Windows. Move the call up so it's called out of the sandbox on Windows. On other platforms this is still called within the sandbox. Also rename VerifyFiles() to InitVerification() to better reflect what the call does. See http://shortn/_lAkREmcQYG and http://shortn/_o4p8OPylLu on how init verification is implemented in the CDM. BUG=709614 TEST=Manually tested on Windows; Existing browser_tests still works. Review-Url: https://codereview.chromium.org/2849163003 Cr-Commit-Position: refs/heads/master@{#468564} Committed: https://chromium.googlesource.com/chromium/src/+/4ae3646b574b83fec0213bab924259cf9d4b130f

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename functions #

Total comments: 2

Patch Set 3 : windows-only #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -28 lines) Patch
M content/common/media/cdm_host_files.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/media/cdm_host_files.cc View 1 3 chunks +14 lines, -13 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 2 chunks +26 lines, -12 lines 1 comment Download

Messages

Total messages: 27 (15 generated)
xhwang
hmchen: PTAL. After your approval, I'll add owners.
3 years, 7 months ago (2017-05-01 19:56:45 UTC) #6
Haoming Chen
lgtm
3 years, 7 months ago (2017-05-01 20:28:09 UTC) #7
xhwang
wfh: PTAL from security's perspective. yzshen: PTAL from ppapi's perspective. kerrnel: FYI
3 years, 7 months ago (2017-05-01 20:32:52 UTC) #9
Will Harris
https://codereview.chromium.org/2849163003/diff/1/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/2849163003/diff/1/content/ppapi_plugin/ppapi_thread.cc#newcode398 content/ppapi_plugin/ppapi_thread.cc:398: if (!cdm_host_files->VerifyFiles(library.get(), path)) { what exactly does VerifyFiles do? ...
3 years, 7 months ago (2017-05-01 20:59:00 UTC) #10
yzshen1
Ppapi LGTM (please wait for LG from security experts)
3 years, 7 months ago (2017-05-01 21:10:07 UTC) #11
xhwang
Will: PTAL again! https://codereview.chromium.org/2849163003/diff/1/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/2849163003/diff/1/content/ppapi_plugin/ppapi_thread.cc#newcode398 content/ppapi_plugin/ppapi_thread.cc:398: if (!cdm_host_files->VerifyFiles(library.get(), path)) { On 2017/05/01 ...
3 years, 7 months ago (2017-05-01 23:05:45 UTC) #15
Will Harris
https://codereview.chromium.org/2849163003/diff/20001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/2849163003/diff/20001/content/ppapi_plugin/ppapi_thread.cc#newcode395 content/ppapi_plugin/ppapi_thread.cc:395: // unsandboxed. On Linux, this is called sandboxed. where ...
3 years, 7 months ago (2017-05-01 23:22:49 UTC) #17
xhwang
Will: PTAL again! Thanks! https://codereview.chromium.org/2849163003/diff/20001/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): https://codereview.chromium.org/2849163003/diff/20001/content/ppapi_plugin/ppapi_thread.cc#newcode395 content/ppapi_plugin/ppapi_thread.cc:395: // unsandboxed. On Linux, this ...
3 years, 7 months ago (2017-05-01 23:57:01 UTC) #18
Will Harris
lgtm but please change CL description to state the initialization code is only called unsandboxed ...
3 years, 7 months ago (2017-05-02 00:44:00 UTC) #19
xhwang
On 2017/05/02 00:44:00, Will Harris wrote: > lgtm but please change CL description to state ...
3 years, 7 months ago (2017-05-02 04:11:01 UTC) #21
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/2849163003/30004
3 years, 7 months ago (2017-05-02 04:11:32 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 05:13:44 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:30004) as
https://chromium.googlesource.com/chromium/src/+/4ae3646b574b83fec0213bab9242...

Powered by Google App Engine
This is Rietveld 408576698