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

Issue 2752653002: Change MojoDecryptorService to take a Decryptor (Closed)

Created:
3 years, 9 months ago by jrummell
Modified:
3 years, 9 months ago
Reviewers:
xhwang
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

Change MojoDecryptorService to take a Decryptor There is no need for MojoDecryptorService to take a reference to a ContentDecryptionModule as the creator of the service already owns the CDM and can control the lifetime of both objects. It cleans up the interface as now the service simply implements the mojo interface on top of the actual Decryptor. BUG=701107 TEST=mojo_decryptor tests pass Review-Url: https://codereview.chromium.org/2752653002 Cr-Commit-Position: refs/heads/master@{#456935} Committed: https://chromium.googlesource.com/chromium/src/+/34a31a9a833423694d567a9de9d0214d0c25aaa1

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -58 lines) Patch
M media/mojo/clients/mojo_decryptor_unittest.cc View 1 4 chunks +2 lines, -39 lines 0 comments Download
M media/mojo/services/mojo_cdm_service.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M media/mojo/services/mojo_cdm_service.cc View 1 chunk +1 line, -3 lines 0 comments Download
M media/mojo/services/mojo_decryptor_service.h View 1 3 chunks +3 lines, -11 lines 0 comments Download
M media/mojo/services/mojo_decryptor_service.cc View 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
jrummell
Cleanup as noted in the previous CL
3 years, 9 months ago (2017-03-14 17:53:15 UTC) #2
xhwang
Thanks for the quick followup! LGTM with nits. https://codereview.chromium.org/2752653002/diff/1/media/mojo/clients/mojo_decryptor_unittest.cc File media/mojo/clients/mojo_decryptor_unittest.cc (right): https://codereview.chromium.org/2752653002/diff/1/media/mojo/clients/mojo_decryptor_unittest.cc#newcode98 media/mojo/clients/mojo_decryptor_unittest.cc:98: // ...
3 years, 9 months ago (2017-03-14 22:07:19 UTC) #3
jrummell
Thanks for the review. https://codereview.chromium.org/2752653002/diff/1/media/mojo/clients/mojo_decryptor_unittest.cc File media/mojo/clients/mojo_decryptor_unittest.cc (right): https://codereview.chromium.org/2752653002/diff/1/media/mojo/clients/mojo_decryptor_unittest.cc#newcode98 media/mojo/clients/mojo_decryptor_unittest.cc:98: // Helpers needed by |mojo_decryptor_service_|. ...
3 years, 9 months ago (2017-03-14 22:49:40 UTC) #4
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/2752653002/20001
3 years, 9 months ago (2017-03-14 22:50:32 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 01:19:43 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/34a31a9a833423694d567a9de9d0...

Powered by Google App Engine
This is Rietveld 408576698