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

Issue 2791903004: media: Implement MediaDrmStorageImpl with tests (Closed)

Created:
3 years, 8 months ago by xhwang
Modified:
3 years, 8 months ago
Reviewers:
yucliu1, sdefresne
CC:
chromium-reviews, eme-reviews_chromium.org, avayvod+watch_chromium.org, mlamouri+watch-media_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Implement MediaDrmStorageImpl with tests Implement MediaDrmStorageImpl using PrefService. TBR=sdefresne@chromium.org BUG=493521 TEST=New unit tests added. Review-Url: https://codereview.chromium.org/2791903004 Cr-Commit-Position: refs/heads/master@{#462929} Committed: https://chromium.googlesource.com/chromium/src/+/d0b7b3b7e9f7d4e4c1f8276c5b416eaa05ac9bb0

Patch Set 1 #

Patch Set 2 : fix rebase errors #

Total comments: 10

Patch Set 3 : comments #

Total comments: 2

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -17 lines) Patch
M components/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/cdm/browser/BUILD.gn View 1 chunk +14 lines, -0 lines 0 comments Download
M components/cdm/browser/media_drm_storage_impl.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M components/cdm/browser/media_drm_storage_impl.cc View 1 2 3 12 chunks +161 lines, -17 lines 0 comments Download
A components/cdm/browser/media_drm_storage_impl_unittest.cc View 1 2 1 chunk +196 lines, -0 lines 0 comments Download
M media/base/android/media_drm_storage.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (24 generated)
xhwang
PTAL
3 years, 8 months ago (2017-04-04 04:49:21 UTC) #14
yucliu1
Some comments on the failure branches. I think we should treat some failure cases as ...
3 years, 8 months ago (2017-04-04 06:50:00 UTC) #15
xhwang
yucliu1: PTAL again! https://codereview.chromium.org/2791903004/diff/20001/components/cdm/browser/media_drm_storage_impl.cc File components/cdm/browser/media_drm_storage_impl.cc (right): https://codereview.chromium.org/2791903004/diff/20001/components/cdm/browser/media_drm_storage_impl.cc#newcode139 components/cdm/browser/media_drm_storage_impl.cc:139: callback.Run(false); On 2017/04/04 06:50:00, yucliu1 wrote: ...
3 years, 8 months ago (2017-04-06 22:00:51 UTC) #17
yucliu1
https://codereview.chromium.org/2791903004/diff/40001/components/cdm/browser/media_drm_storage_impl.cc File components/cdm/browser/media_drm_storage_impl.cc (right): https://codereview.chromium.org/2791903004/diff/40001/components/cdm/browser/media_drm_storage_impl.cc#newcode78 components/cdm/browser/media_drm_storage_impl.cc:78: bool HasEntry(const base::DictionaryValue& dict, const std::string& key) { The ...
3 years, 8 months ago (2017-04-06 22:13:03 UTC) #19
xhwang
yucliu1: PTAL again https://codereview.chromium.org/2791903004/diff/40001/components/cdm/browser/media_drm_storage_impl.cc File components/cdm/browser/media_drm_storage_impl.cc (right): https://codereview.chromium.org/2791903004/diff/40001/components/cdm/browser/media_drm_storage_impl.cc#newcode78 components/cdm/browser/media_drm_storage_impl.cc:78: bool HasEntry(const base::DictionaryValue& dict, const std::string& ...
3 years, 8 months ago (2017-04-06 22:38:43 UTC) #21
xhwang
yucliu1: PTAL again https://codereview.chromium.org/2791903004/diff/40001/components/cdm/browser/media_drm_storage_impl.cc File components/cdm/browser/media_drm_storage_impl.cc (right): https://codereview.chromium.org/2791903004/diff/40001/components/cdm/browser/media_drm_storage_impl.cc#newcode78 components/cdm/browser/media_drm_storage_impl.cc:78: bool HasEntry(const base::DictionaryValue& dict, const std::string& ...
3 years, 8 months ago (2017-04-06 22:38:44 UTC) #22
xhwang
sdefresne: Please OWNERS review the change in components/BUILD.gn for adding a test file.
3 years, 8 months ago (2017-04-06 22:43:27 UTC) #25
yucliu1
lgtm
3 years, 8 months ago (2017-04-06 22:49:19 UTC) #26
xhwang
I didn't realize sdefresne@ is OOO. TBRing sdefresne@ for the trivial change of adding a ...
3 years, 8 months ago (2017-04-07 18:00:49 UTC) #30
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/2791903004/60001
3 years, 8 months ago (2017-04-07 18:01:39 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/d0b7b3b7e9f7d4e4c1f8276c5b416eaa05ac9bb0
3 years, 8 months ago (2017-04-07 18:22:54 UTC) #35
Xi Han
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2808563002/ by hanxi@chromium.org. ...
3 years, 8 months ago (2017-04-07 20:21:35 UTC) #36
sdefresne
3 years, 8 months ago (2017-04-10 09:49:32 UTC) #37
Message was sent while issue was closed.
components/BUILD.gn lgtm

Powered by Google App Engine
This is Rietveld 408576698