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

Issue 2281843003: Move ownership of audio/video sinks to MojoRendererService. (Closed)

Created:
4 years, 3 months ago by alokp
Modified:
4 years, 3 months ago
Reviewers:
jrummell, xhwang
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, alokp+watch_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ownership of audio/video sinks to MojoRendererService. Otherwise they get shared between multiple instances of Renderer and do not get destroyed when media pipeline is destroyed. BUG=641559 Committed: https://crrev.com/0b72920835dc60afae7c1f159ebc75008969de0f Cr-Commit-Position: refs/heads/master@{#415502}

Patch Set 1 #

Patch Set 2 : fixes compile errors #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -85 lines) Patch
M chromecast/browser/media/cast_mojo_media_client.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chromecast/browser/media/cast_mojo_media_client.cc View 1 2 3 3 chunks +80 lines, -6 lines 0 comments Download
M media/mojo/clients/mojo_renderer_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_media_client.h View 2 chunks +15 lines, -8 lines 0 comments Download
M media/mojo/services/mojo_media_client.cc View 2 chunks +14 lines, -4 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.h View 3 chunks +11 lines, -1 line 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M media/mojo/services/service_factory_impl.h View 1 chunk +11 lines, -3 lines 0 comments Download
M media/mojo/services/service_factory_impl.cc View 3 chunks +24 lines, -5 lines 0 comments Download
M media/mojo/services/test_mojo_media_client.h View 1 chunk +5 lines, -11 lines 0 comments Download
M media/mojo/services/test_mojo_media_client.cc View 1 chunk +13 lines, -42 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
alokp
Please see if the approach is OK. I will update all implementations of MojoMediaClient if ...
4 years, 3 months ago (2016-08-27 00:33:34 UTC) #4
alokp
+jrummel since xhwang@ is OOO and who originally moved the ownership to MojoMediaClient
4 years, 3 months ago (2016-08-29 20:34:42 UTC) #12
jrummell
media/ lgtm https://codereview.chromium.org/2281843003/diff/40001/chromecast/browser/media/cast_mojo_media_client.cc File chromecast/browser/media/cast_mojo_media_client.cc (right): https://codereview.chromium.org/2281843003/diff/40001/chromecast/browser/media/cast_mojo_media_client.cc#newcode55 chromecast/browser/media/cast_mojo_media_client.cc:55: return nullptr; Do you need this? It ...
4 years, 3 months ago (2016-08-30 19:59:59 UTC) #13
alokp
https://codereview.chromium.org/2281843003/diff/40001/chromecast/browser/media/cast_mojo_media_client.cc File chromecast/browser/media/cast_mojo_media_client.cc (right): https://codereview.chromium.org/2281843003/diff/40001/chromecast/browser/media/cast_mojo_media_client.cc#newcode55 chromecast/browser/media/cast_mojo_media_client.cc:55: return nullptr; On 2016/08/30 19:59:59, jrummell wrote: > Do ...
4 years, 3 months ago (2016-08-30 20:08:52 UTC) #14
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/2281843003/40001
4 years, 3 months ago (2016-08-30 20:33:06 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/60983) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-08-30 20:36:33 UTC) #18
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/2281843003/60001
4 years, 3 months ago (2016-08-30 22:28:57 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-31 00:00:08 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 00:03:00 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0b72920835dc60afae7c1f159ebc75008969de0f
Cr-Commit-Position: refs/heads/master@{#415502}

Powered by Google App Engine
This is Rietveld 408576698