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

Issue 1407253007: [Chromecast] Allow CMA backend to notify of key expiry (Closed)

Created:
5 years, 1 month ago by halliwell
Modified:
5 years, 1 month ago
Reviewers:
lcwu1, yucliu1
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org, eme-reviews_chromium.org, halliwell+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Allow CMA backend to notify of key expiry This allows CMA backend implementations to notify us when keys have expired. We will need a corresponding internal CL to handle this event in the CDM and send keystatuseschange event upward to JS. BUG=internal b/22702612 Committed: https://crrev.com/4d1b80a42727d3411c4ed6c60ce6cf0b3372b99e Cr-Commit-Position: refs/heads/master@{#360523}

Patch Set 1 #

Patch Set 2 : Fix unit test build failure #

Patch Set 3 : Update SessionKeysChange API based on internal implementation #

Patch Set 4 : Make use of newer CdmKeyInformation API #

Patch Set 5 : Rebase #

Total comments: 2

Patch Set 6 : DCHECK for |cdm_| instead of conditional #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -10 lines) Patch
M chromecast/media/audio/cast_audio_output_stream.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chromecast/media/cdm/browser_cdm_cast.h View 1 2 3 chunks +12 lines, -1 line 0 comments Download
M chromecast/media/cdm/browser_cdm_cast.cc View 1 2 3 1 chunk +17 lines, -9 lines 2 comments Download
M chromecast/media/cma/backend/audio_video_pipeline_device_unittest.cc View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M chromecast/media/cma/pipeline/media_pipeline_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chromecast/media/cma/pipeline/media_pipeline_impl.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
A chromecast/public/media/cast_key_status.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M chromecast/public/media/media_pipeline_backend.h View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407253007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407253007/1
5 years, 1 month ago (2015-11-05 23:39:12 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/76171)
5 years, 1 month ago (2015-11-06 00:16:52 UTC) #4
halliwell
This is ready to review now: we are passing the basic key expiry test case ...
5 years, 1 month ago (2015-11-18 00:52:37 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407253007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407253007/80001
5 years, 1 month ago (2015-11-18 00:53:37 UTC) #9
yucliu1
https://codereview.chromium.org/1407253007/diff/80001/chromecast/media/cma/pipeline/media_pipeline_impl.cc File chromecast/media/cma/pipeline/media_pipeline_impl.cc (right): https://codereview.chromium.org/1407253007/diff/80001/chromecast/media/cma/pipeline/media_pipeline_impl.cc#newcode163 chromecast/media/cma/pipeline/media_pipeline_impl.cc:163: if (cdm_) Is it possible for !cdm_ happen? If ...
5 years, 1 month ago (2015-11-18 01:06:36 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-18 01:07:40 UTC) #12
halliwell
https://codereview.chromium.org/1407253007/diff/80001/chromecast/media/cma/pipeline/media_pipeline_impl.cc File chromecast/media/cma/pipeline/media_pipeline_impl.cc (right): https://codereview.chromium.org/1407253007/diff/80001/chromecast/media/cma/pipeline/media_pipeline_impl.cc#newcode163 chromecast/media/cma/pipeline/media_pipeline_impl.cc:163: if (cdm_) On 2015/11/18 01:06:36, yucliu1 wrote: > Is ...
5 years, 1 month ago (2015-11-18 02:32:18 UTC) #13
yucliu1
https://codereview.chromium.org/1407253007/diff/100001/chromecast/media/cdm/browser_cdm_cast.cc File chromecast/media/cdm/browser_cdm_cast.cc (right): https://codereview.chromium.org/1407253007/diff/100001/chromecast/media/cdm/browser_cdm_cast.cc#newcode144 chromecast/media/cdm/browser_cdm_cast.cc:144: new ::media::CdmKeyInformation(key.first, The constructor with arguments isn't available in ...
5 years, 1 month ago (2015-11-18 19:28:26 UTC) #14
halliwell
https://codereview.chromium.org/1407253007/diff/100001/chromecast/media/cdm/browser_cdm_cast.cc File chromecast/media/cdm/browser_cdm_cast.cc (right): https://codereview.chromium.org/1407253007/diff/100001/chromecast/media/cdm/browser_cdm_cast.cc#newcode144 chromecast/media/cdm/browser_cdm_cast.cc:144: new ::media::CdmKeyInformation(key.first, On 2015/11/18 19:28:26, yucliu1 wrote: > The ...
5 years, 1 month ago (2015-11-18 19:32:32 UTC) #15
yucliu1
On 2015/11/18 19:32:32, halliwell wrote: > https://codereview.chromium.org/1407253007/diff/100001/chromecast/media/cdm/browser_cdm_cast.cc > File chromecast/media/cdm/browser_cdm_cast.cc (right): > > https://codereview.chromium.org/1407253007/diff/100001/chromecast/media/cdm/browser_cdm_cast.cc#newcode144 > ...
5 years, 1 month ago (2015-11-18 20:58:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407253007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407253007/100001
5 years, 1 month ago (2015-11-19 03:13:37 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-19 04:44:05 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 04:45:03 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4d1b80a42727d3411c4ed6c60ce6cf0b3372b99e
Cr-Commit-Position: refs/heads/master@{#360523}

Powered by Google App Engine
This is Rietveld 408576698