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

Issue 2425663003: media: Use native CDM enum types in media mojo interfaces (Closed)

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

Description

media: Use native CDM enum types in media mojo interfaces Also: - Removed obsolete CDM IPC messages (see issue 581746) - Fixed some places missed in previsou CLs TBR=jam@chromium.org BUG=417440, 581746, 611224 TEST=mojo_media_unittests still pass Committed: https://crrev.com/322c301a32ac10c6d374434e2642798ccf6c7bdb Cr-Commit-Position: refs/heads/master@{#425850}

Patch Set 1 #

Patch Set 2 : rebase only #

Patch Set 3 : media: Use native CDM enum types in media mojo interfaces #

Total comments: 3

Patch Set 4 : comments addressed #

Total comments: 4

Patch Set 5 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -326 lines) Patch
M content/common/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/content_message_generator.h View 1 chunk +0 lines, -2 lines 0 comments Download
D content/common/media/cdm_messages.h View 1 chunk +0 lines, -142 lines 0 comments Download
D content/common/media/cdm_messages_enums.h View 1 chunk +0 lines, -16 lines 0 comments Download
M media/base/eme_constants.h View 1 2 3 1 chunk +1 line, -6 lines 0 comments Download
M media/base/ipc/media_param_traits_macros.h View 1 2 3 4 chunks +27 lines, -0 lines 0 comments Download
M media/mojo/clients/mojo_cdm.h View 2 chunks +3 lines, -1 line 0 comments Download
M media/mojo/clients/mojo_cdm.cc View 1 4 chunks +10 lines, -12 lines 0 comments Download
M media/mojo/clients/mojo_decryptor.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M media/mojo/common/media_type_converters.cc View 6 chunks +9 lines, -74 lines 0 comments Download
M media/mojo/interfaces/content_decryption_module.mojom View 1 2 3 4 5 chunks +21 lines, -49 lines 0 comments Download
A media/mojo/interfaces/content_decryption_module.typemap View 1 chunk +26 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_cdm_promise.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/mojo/services/mojo_cdm_service.h View 3 chunks +6 lines, -3 lines 0 comments Download
M media/mojo/services/mojo_cdm_service.cc View 3 chunks +9 lines, -13 lines 0 comments Download

Messages

Total messages: 37 (21 generated)
xhwang
rebase only
4 years, 2 months ago (2016-10-17 19:44:45 UTC) #5
xhwang
The last one to convert Enums. Next I'll look into structs. PTAL
4 years, 2 months ago (2016-10-17 21:48:04 UTC) #7
dcheng
lgtm https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h#newcode22 media/base/eme_constants.h:22: EME_INIT_DATA_TYPE_MAX = KEYIDS Nit: MAX here should be ...
4 years, 2 months ago (2016-10-17 23:05:22 UTC) #8
xhwang
https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h#newcode22 media/base/eme_constants.h:22: EME_INIT_DATA_TYPE_MAX = KEYIDS On 2016/10/17 23:05:22, dcheng wrote: > ...
4 years, 2 months ago (2016-10-17 23:22:18 UTC) #9
dcheng
https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h#newcode22 media/base/eme_constants.h:22: EME_INIT_DATA_TYPE_MAX = KEYIDS On 2016/10/17 23:22:18, xhwang wrote: > ...
4 years, 2 months ago (2016-10-17 23:26:02 UTC) #12
xhwang
On 2016/10/17 23:26:02, dcheng wrote: > https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h > File media/base/eme_constants.h (right): > > https://codereview.chromium.org/2425663003/diff/40001/media/base/eme_constants.h#newcode22 > ...
4 years, 2 months ago (2016-10-17 23:29:38 UTC) #13
xhwang
comments addressed
4 years, 2 months ago (2016-10-17 23:35:01 UTC) #14
jrummell
LGTM w/nits. (also s/previsou/previous in CL description) https://codereview.chromium.org/2425663003/diff/60001/media/mojo/interfaces/content_decryption_module.mojom File media/mojo/interfaces/content_decryption_module.mojom (right): https://codereview.chromium.org/2425663003/diff/60001/media/mojo/interfaces/content_decryption_module.mojom#newcode12 media/mojo/interfaces/content_decryption_module.mojom:12: enum EmeInitDataType; ...
4 years, 2 months ago (2016-10-17 23:47:25 UTC) #17
xhwang
comments addressed
4 years, 2 months ago (2016-10-17 23:51:05 UTC) #18
xhwang
https://codereview.chromium.org/2425663003/diff/60001/media/mojo/interfaces/content_decryption_module.mojom File media/mojo/interfaces/content_decryption_module.mojom (right): https://codereview.chromium.org/2425663003/diff/60001/media/mojo/interfaces/content_decryption_module.mojom#newcode12 media/mojo/interfaces/content_decryption_module.mojom:12: enum EmeInitDataType; On 2016/10/17 23:47:24, jrummell wrote: > I'm ...
4 years, 2 months ago (2016-10-17 23:51:14 UTC) #20
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/2425663003/80001
4 years, 2 months ago (2016-10-18 00:23:28 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/283217)
4 years, 2 months ago (2016-10-18 00:28:37 UTC) #28
xhwang
TBRing jam@ for trivial changes in content/common/* where I removed obsolete IPC messages.
4 years, 2 months ago (2016-10-18 01:02:33 UTC) #31
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/2425663003/80001
4 years, 2 months ago (2016-10-18 01:03:10 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-18 01:42:47 UTC) #35
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 01:45:41 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/322c301a32ac10c6d374434e2642798ccf6c7bdb
Cr-Commit-Position: refs/heads/master@{#425850}

Powered by Google App Engine
This is Rietveld 408576698