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

Issue 835683002: media: Always define |cdm_id| in CdmContext. (Closed)

Created:
5 years, 11 months ago by xhwang
Modified:
5 years, 9 months ago
Reviewers:
ddorwin
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, eme-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Always define |cdm_id| in CdmContext. Previously |cdm_id| is guarded by the ENABLE_BROWSER_CDMS macro, which makes a lot of code more complicated and brings very little savings. This CL always defines |cdm_id| to clean this up. BUG=432998 Committed: https://crrev.com/9aa5f1b733c4d4f8ed138f0788c12c9069c87322 Cr-Commit-Position: refs/heads/master@{#321411}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -17 lines) Patch
M content/renderer/media/crypto/ppapi_decryptor.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/base/cdm_context.h View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M media/cdm/aes_decryptor.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M media/cdm/aes_decryptor.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
xhwang
PTAL
5 years, 11 months ago (2015-01-05 21:45:41 UTC) #2
ddorwin
https://codereview.chromium.org/835683002/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc File content/renderer/media/crypto/ppapi_decryptor.cc (right): https://codereview.chromium.org/835683002/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc#newcode189 content/renderer/media/crypto/ppapi_decryptor.cc:189: return kInvalidCdmId; Should this be NOTREACHED()?
5 years, 11 months ago (2015-01-05 22:59:05 UTC) #3
xhwang
https://codereview.chromium.org/835683002/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc File content/renderer/media/crypto/ppapi_decryptor.cc (right): https://codereview.chromium.org/835683002/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc#newcode189 content/renderer/media/crypto/ppapi_decryptor.cc:189: return kInvalidCdmId; On 2015/01/05 22:59:05, ddorwin wrote: > Should ...
5 years, 9 months ago (2015-03-17 23:40:28 UTC) #4
ddorwin
lgtm https://codereview.chromium.org/835683002/diff/20001/media/base/cdm_context.h File media/base/cdm_context.h (right): https://codereview.chromium.org/835683002/diff/20001/media/base/cdm_context.h#newcode30 media/base/cdm_context.h:30: // Returns a unique ID associated with the ...
5 years, 9 months ago (2015-03-19 17:24:12 UTC) #5
xhwang
comments addressed
5 years, 9 months ago (2015-03-19 18:25:25 UTC) #6
xhwang
https://codereview.chromium.org/835683002/diff/20001/media/base/cdm_context.h File media/base/cdm_context.h (right): https://codereview.chromium.org/835683002/diff/20001/media/base/cdm_context.h#newcode30 media/base/cdm_context.h:30: // Returns a unique ID associated with the CDM, ...
5 years, 9 months ago (2015-03-19 18:25:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/835683002/40001
5 years, 9 months ago (2015-03-19 18:27:34 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-19 19:41:41 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 19:42:10 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9aa5f1b733c4d4f8ed138f0788c12c9069c87322
Cr-Commit-Position: refs/heads/master@{#321411}

Powered by Google App Engine
This is Rietveld 408576698