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

Issue 2539703002: media: Add |bad_message_cb_| to MojoRendererService (Closed)

Created:
4 years ago by xhwang
Modified:
4 years ago
Reviewers:
tguilbert
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

media: Add |bad_message_cb_| to MojoRendererService This helps move the StrongBindingPtr out of MojoRendererService, so that we can bind MojoRendererService using other type of bindings, e.g. mojo::Binding. When we do use MojoRendererService::Create(), which uses mojo::StrongBinding, now the StrongBindingPtr isimplicitly owned by the MojoRendererService through the |bad_message_cb_|. BUG=604912, 669606 TEST=Covered by media_mojo_unittests Committed: https://crrev.com/a2db52064245983d71338e51d330edf256418e81 Cr-Commit-Position: refs/heads/master@{#435088}

Patch Set 1 #

Patch Set 2 : add TODO and ref to bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -5 lines) Patch
M media/mojo/clients/mojo_renderer_unittest.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.h View 1 2 chunks +8 lines, -3 lines 0 comments Download
M media/mojo/services/mojo_renderer_service.cc View 3 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
xhwang
PTAL. You can see how we set the callback when using mojo::Binding (instead of StrongBinding) ...
4 years ago (2016-11-29 10:22:29 UTC) #8
tguilbert
On 2016/11/29 10:22:29, xhwang wrote: > PTAL. > > You can see how we set ...
4 years ago (2016-11-29 18:54:44 UTC) #9
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/2539703002/1
4 years ago (2016-11-29 20:13:12 UTC) #12
tguilbert
On 2016/11/29 20:13:12, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years ago (2016-11-29 20:15:13 UTC) #13
tguilbert
On 2016/11/29 20:13:12, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years ago (2016-11-29 20:15:13 UTC) #14
xhwang
On 2016/11/29 20:15:13, tguilbert wrote: > On 2016/11/29 20:13:12, commit-bot: I haz the power wrote: ...
4 years ago (2016-11-29 20:22:24 UTC) #16
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/2539703002/20001
4 years ago (2016-11-29 21:22:02 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-29 22:07:23 UTC) #25
commit-bot: I haz the power
4 years ago (2016-11-29 22:10:05 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a2db52064245983d71338e51d330edf256418e81
Cr-Commit-Position: refs/heads/master@{#435088}

Powered by Google App Engine
This is Rietveld 408576698