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

Issue 1888603002: Add CdmFileIOProvider interface for use by cdm_adapter (Closed)

Created:
4 years, 8 months ago by jrummell
Modified:
4 years, 8 months ago
Reviewers:
xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org, eme-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CdmFileIOProvider interface for use by cdm_adapter When cdm_adapter is created an CdmFileIOProvider object is provided that allows the CDM to access files. Includes a simple implementation that does nothing for testing purposes (since none of the tests rely on having access to a filesystem). BUG=479923 TEST=media_unittests pass Committed: https://crrev.com/377a54c9058bdbdcf86edcac49ff638f96fddb68 Cr-Commit-Position: refs/heads/master@{#388648}

Patch Set 1 #

Total comments: 2

Patch Set 2 : callback #

Total comments: 6

Patch Set 3 : nits #

Patch Set 4 : fix Win compile issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -18 lines) Patch
M media/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 4 chunks +12 lines, -3 lines 0 comments Download
M media/cdm/cdm_adapter.h View 1 2 5 chunks +18 lines, -3 lines 0 comments Download
M media/cdm/cdm_adapter.cc View 1 2 6 chunks +12 lines, -7 lines 0 comments Download
M media/cdm/cdm_adapter_unittest.cc View 1 4 chunks +10 lines, -2 lines 0 comments Download
A media/cdm/cdm_file_io.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A + media/cdm/cdm_file_io.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M media/media.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
jrummell
PTAL
4 years, 8 months ago (2016-04-13 22:15:00 UTC) #2
xhwang
https://chromiumcodereview.appspot.com/1888603002/diff/1/media/cdm/cdm_file_io_provider.h File media/cdm/cdm_file_io_provider.h (right): https://chromiumcodereview.appspot.com/1888603002/diff/1/media/cdm/cdm_file_io_provider.h#newcode27 media/cdm/cdm_file_io_provider.h:27: virtual cdm::FileIO* CreateFileIO(cdm::FileIOClient* client) = 0; Since this interface ...
4 years, 8 months ago (2016-04-14 06:46:31 UTC) #3
jrummell
Updated to pass a Callback. Unfortunately cdm::FileIO has a protected destructor, so had to add ...
4 years, 8 months ago (2016-04-14 22:02:56 UTC) #4
xhwang
lgtm with some nits https://chromiumcodereview.appspot.com/1888603002/diff/20001/media/cdm/cdm_adapter.cc File media/cdm/cdm_adapter.cc (right): https://chromiumcodereview.appspot.com/1888603002/diff/20001/media/cdm/cdm_adapter.cc#newcode902 media/cdm/cdm_adapter.cc:902: // to release it. nit: ...
4 years, 8 months ago (2016-04-18 21:09:23 UTC) #5
jrummell
Thanks for the reviews. https://codereview.chromium.org/1888603002/diff/20001/media/cdm/cdm_adapter.cc File media/cdm/cdm_adapter.cc (right): https://codereview.chromium.org/1888603002/diff/20001/media/cdm/cdm_adapter.cc#newcode902 media/cdm/cdm_adapter.cc:902: // to release it. On ...
4 years, 8 months ago (2016-04-19 23:59:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888603002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888603002/60001
4 years, 8 months ago (2016-04-20 00:00:06 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/177315)
4 years, 8 months ago (2016-04-20 01:16:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888603002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888603002/80001
4 years, 8 months ago (2016-04-20 23:10:07 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 8 months ago (2016-04-21 01:13:12 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:29:46 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/377a54c9058bdbdcf86edcac49ff638f96fddb68
Cr-Commit-Position: refs/heads/master@{#388648}

Powered by Google App Engine
This is Rietveld 408576698