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

Issue 894173002: Adds hook for content embedders to get media::BrowserCdm*. (Closed)

Created:
5 years, 10 months ago by gunsch
Modified:
5 years, 10 months ago
Reviewers:
jam, erickung1
CC:
chromium-reviews, creis+watch_chromium.org, feature-media-reviews_chromium.org, lcwu+watch_chromium.org, nasko+codewatch_chromium.org, jam, eme-reviews_chromium.org, darin-cc_chromium.org, gunsch+watch_chromium.org, xhwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds hook for content embedders to get media::BrowserCdm*. R=jam@chromium.org,erickung@chromium.org BUG=444930 Committed: https://crrev.com/400ad00072c3f55fd449ed80373f261d06cf5348 Cr-Commit-Position: refs/heads/master@{#314937}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : update docs #

Patch Set 4 : reorder namespaces #

Total comments: 4

Patch Set 5 : don't hold RenderProcessHost reference #

Patch Set 6 : Bind render_process_id in callback, in case RPH is destroyed on UI thread while CMFH::SetCdm running #

Total comments: 2

Patch Set 7 : fixes CmaMessageFilterHost callback reference, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -10 lines) Patch
M chromecast/browser/media/cma_message_filter_host.h View 1 2 3 4 6 1 chunk +3 lines, -0 lines 0 comments Download
M chromecast/browser/media/cma_message_filter_host.cc View 1 2 3 4 5 6 2 chunks +27 lines, -1 line 0 comments Download
M chromecast/browser/media/media_pipeline_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M chromecast/browser/media/media_pipeline_host.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M content/browser/media/cdm/browser_cdm_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/cdm/browser_cdm_manager.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
gunsch
@erickung: for chromecast/ changes @jam: for content/ changes
5 years, 10 months ago (2015-02-02 20:36:37 UTC) #1
erickung1
Don't see any issue at all, waiting for jam@ to finish the content side review ...
5 years, 10 months ago (2015-02-02 21:51:35 UTC) #2
gunsch
https://codereview.chromium.org/894173002/diff/20001/chromecast/browser/media/cma_message_filter_host.h File chromecast/browser/media/cma_message_filter_host.h (right): https://codereview.chromium.org/894173002/diff/20001/chromecast/browser/media/cma_message_filter_host.h#newcode31 chromecast/browser/media/cma_message_filter_host.h:31: namespace content { On 2015/02/02 21:51:34, erickung1 wrote: > ...
5 years, 10 months ago (2015-02-02 23:43:13 UTC) #3
jam
https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc File chromecast/browser/media/cma_message_filter_host.cc (right): https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc#newcode186 chromecast/browser/media/cma_message_filter_host.cc:186: render_process_host_->GetBrowserCdm(render_frame_id, cdm_id); there's no guarantee that the RPH is ...
5 years, 10 months ago (2015-02-03 05:51:45 UTC) #4
gunsch
https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc File chromecast/browser/media/cma_message_filter_host.cc (right): https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc#newcode186 chromecast/browser/media/cma_message_filter_host.cc:186: render_process_host_->GetBrowserCdm(render_frame_id, cdm_id); On 2015/02/03 05:51:45, jam wrote: > there's ...
5 years, 10 months ago (2015-02-03 17:25:28 UTC) #5
jam
lgtm with comment https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc File chromecast/browser/media/cma_message_filter_host.cc (right): https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc#newcode186 chromecast/browser/media/cma_message_filter_host.cc:186: render_process_host_->GetBrowserCdm(render_frame_id, cdm_id); On 2015/02/03 17:25:28, gunsch ...
5 years, 10 months ago (2015-02-05 23:02:15 UTC) #6
gunsch
https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc File chromecast/browser/media/cma_message_filter_host.cc (right): https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc#newcode186 chromecast/browser/media/cma_message_filter_host.cc:186: render_process_host_->GetBrowserCdm(render_frame_id, cdm_id); On 2015/02/05 23:02:15, jam wrote: > On ...
5 years, 10 months ago (2015-02-05 23:34:53 UTC) #8
erickung1
On 2015/02/05 23:34:53, gunsch wrote: > https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc > File chromecast/browser/media/cma_message_filter_host.cc (right): > > https://codereview.chromium.org/894173002/diff/60001/chromecast/browser/media/cma_message_filter_host.cc#newcode186 > ...
5 years, 10 months ago (2015-02-05 23:39:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894173002/120001
5 years, 10 months ago (2015-02-05 23:42:19 UTC) #11
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-06 01:20:47 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 01:21:33 UTC) #13
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/400ad00072c3f55fd449ed80373f261d06cf5348
Cr-Commit-Position: refs/heads/master@{#314937}

Powered by Google App Engine
This is Rietveld 408576698