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

Issue 2416373002: media: Use native Decryptor enum types in media mojo interfaces (Closed)

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

Description

media: Use native Decryptor enum types in media mojo interfaces This also fixes a bug in MojoDecryptor where DemuxerStream::Type and Decryptor::StreamType are mix-used with static_cast. BUG=611224, 656057 TEST=mojo_media_unittests still pass Committed: https://crrev.com/aabcf38f71c28d32bdd6371d38dea38788f2779a Cr-Commit-Position: refs/heads/master@{#425517}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -108 lines) Patch
M media/base/decryptor.h View 1 chunk +4 lines, -8 lines 4 comments Download
M media/base/ipc/media_param_traits_macros.h View 2 chunks +7 lines, -0 lines 0 comments Download
M media/mojo/clients/mojo_decryptor.h View 1 chunk +3 lines, -3 lines 0 comments Download
M media/mojo/clients/mojo_decryptor.cc View 6 chunks +13 lines, -20 lines 0 comments Download
M media/mojo/common/media_type_converters.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M media/mojo/interfaces/decryptor.mojom View 4 chunks +12 lines, -14 lines 0 comments Download
A media/mojo/interfaces/decryptor.typemap View 1 chunk +19 lines, -0 lines 0 comments Download
M media/mojo/interfaces/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/services/mojo_decryptor_service.h View 4 chunks +10 lines, -7 lines 0 comments Download
M media/mojo/services/mojo_decryptor_service.cc View 8 chunks +31 lines, -41 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
xhwang
PTAL
4 years, 2 months ago (2016-10-14 21:32:22 UTC) #2
dcheng
mojo lgtm https://chromiumcodereview.appspot.com/2416373002/diff/1/media/base/decryptor.h File media/base/decryptor.h (right): https://chromiumcodereview.appspot.com/2416373002/diff/1/media/base/decryptor.h#newcode36 media/base/decryptor.h:36: STATUS_MAX = kError Nit: it's probably better ...
4 years, 2 months ago (2016-10-14 21:36:43 UTC) #3
xhwang
https://chromiumcodereview.appspot.com/2416373002/diff/1/media/base/decryptor.h File media/base/decryptor.h (right): https://chromiumcodereview.appspot.com/2416373002/diff/1/media/base/decryptor.h#newcode36 media/base/decryptor.h:36: STATUS_MAX = kError On 2016/10/14 21:36:42, dcheng wrote: > ...
4 years, 2 months ago (2016-10-14 21:40:09 UTC) #4
dcheng
https://codereview.chromium.org/2416373002/diff/1/media/base/decryptor.h File media/base/decryptor.h (right): https://codereview.chromium.org/2416373002/diff/1/media/base/decryptor.h#newcode36 media/base/decryptor.h:36: STATUS_MAX = kError On 2016/10/14 21:40:09, xhwang wrote: > ...
4 years, 2 months ago (2016-10-14 22:01:12 UTC) #5
dcheng
4 years, 2 months ago (2016-10-14 22:01:17 UTC) #6
jrummell
lgtm
4 years, 2 months ago (2016-10-14 22:07:46 UTC) #7
xhwang
https://chromiumcodereview.appspot.com/2416373002/diff/1/media/base/decryptor.h File media/base/decryptor.h (right): https://chromiumcodereview.appspot.com/2416373002/diff/1/media/base/decryptor.h#newcode36 media/base/decryptor.h:36: STATUS_MAX = kError On 2016/10/14 22:01:12, dcheng wrote: > ...
4 years, 2 months ago (2016-10-14 22:39:54 UTC) #8
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/2416373002/1
4 years, 2 months ago (2016-10-14 22:40:21 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-15 00:27:32 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-10-15 00:29:14 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/aabcf38f71c28d32bdd6371d38dea38788f2779a
Cr-Commit-Position: refs/heads/master@{#425517}

Powered by Google App Engine
This is Rietveld 408576698