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

Issue 1821153004: media: Use PassInterface() in mojo media classes (Closed)

Created:
4 years, 9 months ago by xhwang
Modified:
4 years, 9 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Use PassInterface() in mojo media classes This is the preferred way to bind an InterfacePtr on one thread and then use it on another thread. BUG=596925 TEST=Manually tested. Committed: https://crrev.com/ac9ee0c8ef4c20df609f7d34c068d9a97363160e Cr-Commit-Position: refs/heads/master@{#382708}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M media/mojo/services/mojo_audio_decoder.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M media/mojo/services/mojo_audio_decoder.cc View 2 chunks +4 lines, -1 line 0 comments Download
M media/mojo/services/mojo_renderer_impl.h View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
M media/mojo/services/mojo_renderer_impl.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
xhwang
PTAL and help me make sure I am using it correctly :)
4 years, 9 months ago (2016-03-22 18:57:47 UTC) #2
yzshen1
Thanks LGTM! https://chromiumcodereview.appspot.com/1821153004/diff/20001/media/mojo/services/mojo_audio_decoder.h File media/mojo/services/mojo_audio_decoder.h (right): https://chromiumcodereview.appspot.com/1821153004/diff/20001/media/mojo/services/mojo_audio_decoder.h#newcode71 media/mojo/services/mojo_audio_decoder.h:71: mojo::InterfacePtrInfo<interfaces::AudioDecoder> remote_decoder_info_; optional: you could use interfaces::AudioDecoderPtrInfo ...
4 years, 9 months ago (2016-03-22 19:15:04 UTC) #4
xhwang
comments addressed
4 years, 9 months ago (2016-03-22 19:43:46 UTC) #5
xhwang
Thanks for the review! https://chromiumcodereview.appspot.com/1821153004/diff/20001/media/mojo/services/mojo_audio_decoder.h File media/mojo/services/mojo_audio_decoder.h (right): https://chromiumcodereview.appspot.com/1821153004/diff/20001/media/mojo/services/mojo_audio_decoder.h#newcode71 media/mojo/services/mojo_audio_decoder.h:71: mojo::InterfacePtrInfo<interfaces::AudioDecoder> remote_decoder_info_; On 2016/03/22 19:15:04, ...
4 years, 9 months ago (2016-03-22 19:45:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821153004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821153004/40001
4 years, 9 months ago (2016-03-22 19:46:18 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-22 22:18:10 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 22:19:35 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ac9ee0c8ef4c20df609f7d34c068d9a97363160e
Cr-Commit-Position: refs/heads/master@{#382708}

Powered by Google App Engine
This is Rietveld 408576698