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

Issue 2631463003: Add VerifyHostFiles() (Closed)

Created:
3 years, 11 months ago by xhwang
Modified:
3 years, 11 months ago
CC:
cdm-api-reviews_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add VerifyHostFiles() This API allows the host of the CDM to pass in a list of file descriptors of files (and corresponding signature files) so that the CDM can verify them. This new API is added in a different file since this API will be dynamically found (e.g. using GetFunctionPointerFromNativeLibrary()). Other existing APIs in media/cdm/api/content_decryption_module.h are statically called by the CDM adapter. BUG=658036 TEST=Tested with prototype CL https://codereview.chromium.org/2582463003 R=ddorwin@chromium.org, hmchen@chromium.org, jrummell@chromium.org Committed: https://chromium.googlesource.com/chromium/cdm/+/379a18058fee03b429bd5b4a330b78add56efec4

Patch Set 1 #

Patch Set 2 : fix path :) #

Total comments: 14

Patch Set 3 : comments #

Total comments: 2

Patch Set 4 : year #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -18 lines) Patch
M content_decryption_module.h View 1 2 chunks +7 lines, -18 lines 0 comments Download
A content_decryption_module_export.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
A content_decryption_module_ext.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
xhwang
This is the cdm.h API change. PTAL https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module.h File content_decryption_module.h (right): https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module.h#newcode8 content_decryption_module.h:8: #include "content_decryption_module_export.h" ...
3 years, 11 months ago (2017-01-12 20:07:05 UTC) #2
xhwang
jrummell / hmchen: See my reply to your comments on these files in https://chromiumcodereview.appspot.com/2582463003/
3 years, 11 months ago (2017-01-12 20:15:56 UTC) #3
ddorwin
https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module_ext.h File content_decryption_module_ext.h (right): https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module_ext.h#newcode15 content_decryption_module_ext.h:15: typedef unsigned int uint32_t; Is this still required even ...
3 years, 11 months ago (2017-01-13 08:27:51 UTC) #4
xhwang
Thanks for the comments. PTAL again! https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module_ext.h File content_decryption_module_ext.h (right): https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module_ext.h#newcode15 content_decryption_module_ext.h:15: typedef unsigned int ...
3 years, 11 months ago (2017-01-13 18:34:07 UTC) #7
ddorwin
The code LGTM. https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module_ext.h File content_decryption_module_ext.h (right): https://codereview.chromium.org/2631463003/diff/20001/content_decryption_module_ext.h#newcode26 content_decryption_module_ext.h:26: typedef int CdmPlatformFile; On 2017/01/13 18:34:06, ...
3 years, 11 months ago (2017-01-13 18:47:38 UTC) #8
xhwang
hmchen and jrummell: PTAL!
3 years, 11 months ago (2017-01-13 18:51:46 UTC) #9
xhwang
tinskip: FYI
3 years, 11 months ago (2017-01-13 18:52:04 UTC) #11
Haoming Chen
lgtm
3 years, 11 months ago (2017-01-13 19:13:58 UTC) #12
jrummell
lgtm https://codereview.chromium.org/2631463003/diff/80001/content_decryption_module_ext.h File content_decryption_module_ext.h (right): https://codereview.chromium.org/2631463003/diff/80001/content_decryption_module_ext.h#newcode1 content_decryption_module_ext.h:1: // Copyright 2016 The Chromium Authors. All rights ...
3 years, 11 months ago (2017-01-13 21:00:17 UTC) #13
xhwang
https://codereview.chromium.org/2631463003/diff/80001/content_decryption_module_ext.h File content_decryption_module_ext.h (right): https://codereview.chromium.org/2631463003/diff/80001/content_decryption_module_ext.h#newcode1 content_decryption_module_ext.h:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 11 months ago (2017-01-13 21:13:51 UTC) #14
xhwang
3 years, 11 months ago (2017-01-13 21:14:13 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:100001) manually as
379a18058fee03b429bd5b4a330b78add56efec4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698