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

Issue 2358413002: media: Use associated interface for mojo RendererClient (Closed)

Created:
4 years, 3 months ago by xhwang
Modified:
4 years, 3 months ago
Reviewers:
dcheng, alokp
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), yzshen1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Use associated interface for mojo RendererClient Use associated interface for the RendererClient so that client calls runs on the same message pipe as the main interface, so that we can guarantee the delivery order of client calls and main interface callbacks. Also update MojoRendererTest to use TestMessageLoop so that pending tasks are automatically executed during destruction. This helps make sure we don't leak objects. BUG=646054 Committed: https://crrev.com/ea1e36d904dbc72f46a9f0ae695796ac3e55bfa1 Cr-Commit-Position: refs/heads/master@{#420430}

Patch Set 1 #

Patch Set 2 : more test update #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -19 lines) Patch
M media/mojo/clients/mojo_renderer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/mojo/clients/mojo_renderer.cc View 3 chunks +9 lines, -3 lines 3 comments Download
M media/mojo/clients/mojo_renderer_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/mojo/interfaces/renderer.mojom View 1 chunk +1 line, -1 line 0 comments Download
M media/mojo/services/media_mojo_unittest.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
xhwang
alokp: PTAL See https://codereview.chromium.org/2330273002/ for the context.
4 years, 3 months ago (2016-09-22 16:30:48 UTC) #10
alokp
take my lgtm with a grain of salt because I have not used Associated interface ...
4 years, 3 months ago (2016-09-22 17:30:08 UTC) #11
alokp
take my lgtm with a grain of salt because I have not used Associated interface ...
4 years, 3 months ago (2016-09-22 17:30:09 UTC) #12
xhwang
https://codereview.chromium.org/2358413002/diff/20001/media/mojo/clients/mojo_renderer.cc File media/mojo/clients/mojo_renderer.cc (right): https://codereview.chromium.org/2358413002/diff/20001/media/mojo/clients/mojo_renderer.cc#newcode107 media/mojo/clients/mojo_renderer.cc:107: mojom::RendererClientAssociatedPtrInfo client_ptr_info; On 2016/09/22 17:30:08, alokp wrote: > move ...
4 years, 3 months ago (2016-09-22 18:11:57 UTC) #13
xhwang
dcheng: Please OWNERS/security review the one word change in the mojom file. Basically I am ...
4 years, 3 months ago (2016-09-22 18:16:40 UTC) #15
alokp
https://codereview.chromium.org/2358413002/diff/20001/media/mojo/clients/mojo_renderer.cc File media/mojo/clients/mojo_renderer.cc (right): https://codereview.chromium.org/2358413002/diff/20001/media/mojo/clients/mojo_renderer.cc#newcode107 media/mojo/clients/mojo_renderer.cc:107: mojom::RendererClientAssociatedPtrInfo client_ptr_info; On 2016/09/22 18:11:57, xhwang (slow) wrote: > ...
4 years, 3 months ago (2016-09-22 18:17:24 UTC) #16
dcheng
mojo lgtm
4 years, 3 months ago (2016-09-22 19:21:52 UTC) #17
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/2358413002/20001
4 years, 3 months ago (2016-09-22 19:40:23 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-22 19:46:18 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 19:49:18 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ea1e36d904dbc72f46a9f0ae695796ac3e55bfa1
Cr-Commit-Position: refs/heads/master@{#420430}

Powered by Google App Engine
This is Rietveld 408576698