Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Issue 11018007: Rename cdm::OutputBuffer to DecryptedBlock. (Closed)

Created:
8 years, 2 months ago by Tom Finegan
Modified:
8 years, 2 months ago
Reviewers:
fgalligan1, xhwang, ddorwin
Visibility:
Public.

Description

Rename cdm::OutputBuffer to DecryptedBlock. The replacement class is an interface, and is implemented in cdm_wrapper. Also renames cdm::Buffer's buffer method to data for clarity at call sites (former name could result in calls like buffer->buffer()->buffer()). BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159626

Patch Set 1 #

Patch Set 2 : Fix comment. #

Total comments: 10

Patch Set 3 : Comments addressed. #

Total comments: 2

Patch Set 4 : Replace virtual destructors. #

Total comments: 2

Patch Set 5 : Replace destructor implementations for DecryptedBlock and KeyMessage. #

Total comments: 1

Patch Set 6 : Replace DecryptedBlock and KeyMessage constructors. Change cdm::Buffer::buffer to data. #

Patch Set 7 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -76 lines) Patch
M webkit/media/crypto/ppapi/cdm_wrapper.cc View 1 2 3 4 5 6 11 chunks +47 lines, -47 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.h View 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/media/crypto/ppapi/clear_key_cdm.cc View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M webkit/media/crypto/ppapi/content_decryption_module.h View 1 2 3 4 5 6 6 chunks +20 lines, -20 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Tom Finegan
PTAL!
8 years, 2 months ago (2012-09-30 02:24:08 UTC) #1
ddorwin
http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode111 webkit/media/crypto/ppapi/cdm_wrapper.cc:111: virtual cdm::Buffer* buffer() const OVERRIDE; returned pointer should be ...
8 years, 2 months ago (2012-10-01 01:51:14 UTC) #2
xhwang
http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode308 webkit/media/crypto/ppapi/content_decryption_module.h:308: // Represents a decrypted buffer. s/buffer/block ? http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode315 webkit/media/crypto/ppapi/content_decryption_module.h:315: ...
8 years, 2 months ago (2012-10-01 06:10:05 UTC) #3
Tom Finegan
PTAL! Thanks. http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/cdm_wrapper.cc File webkit/media/crypto/ppapi/cdm_wrapper.cc (right): http://codereview.chromium.org/11018007/diff/2001/webkit/media/crypto/ppapi/cdm_wrapper.cc#newcode111 webkit/media/crypto/ppapi/cdm_wrapper.cc:111: virtual cdm::Buffer* buffer() const OVERRIDE; On 2012/10/01 ...
8 years, 2 months ago (2012-10-01 19:24:40 UTC) #4
ddorwin
LG except the destructors. http://codereview.chromium.org/11018007/diff/13001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/11018007/diff/13001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode317 webkit/media/crypto/ppapi/content_decryption_module.h:317: virtual int64_t timestamp() const = ...
8 years, 2 months ago (2012-10-01 19:38:34 UTC) #5
Tom Finegan
Replaced the dtors... http://codereview.chromium.org/11018007/diff/13001/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/11018007/diff/13001/webkit/media/crypto/ppapi/content_decryption_module.h#newcode317 webkit/media/crypto/ppapi/content_decryption_module.h:317: virtual int64_t timestamp() const = 0; ...
8 years, 2 months ago (2012-10-01 19:52:30 UTC) #6
xhwang
http://codereview.chromium.org/11018007/diff/7003/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/11018007/diff/7003/webkit/media/crypto/ppapi/content_decryption_module.h#newcode320 webkit/media/crypto/ppapi/content_decryption_module.h:320: virtual ~DecryptedBlock(); This looks good to me. @ddorwin: The ...
8 years, 2 months ago (2012-10-01 21:12:04 UTC) #7
Tom Finegan
Destructor implementations replaced. PTAL, thanks.
8 years, 2 months ago (2012-10-01 22:29:34 UTC) #8
xhwang
http://codereview.chromium.org/11018007/diff/15002/webkit/media/crypto/ppapi/content_decryption_module.h File webkit/media/crypto/ppapi/content_decryption_module.h (right): http://codereview.chromium.org/11018007/diff/15002/webkit/media/crypto/ppapi/content_decryption_module.h#newcode320 webkit/media/crypto/ppapi/content_decryption_module.h:320: virtual ~DecryptedBlock() {} Sorry for going back-and-forth. But having ...
8 years, 2 months ago (2012-10-01 22:35:13 UTC) #9
Tom Finegan
Replaced the ctors, and changed buffer() to data() in cdm::Buffer. PTAL, thanks!
8 years, 2 months ago (2012-10-01 22:41:43 UTC) #10
ddorwin
lgtm Yay!
8 years, 2 months ago (2012-10-01 22:45:02 UTC) #11
xhwang
lgtm
8 years, 2 months ago (2012-10-01 22:47:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11018007/7004
8 years, 2 months ago (2012-10-01 23:28:26 UTC) #13
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 2 months ago (2012-10-02 00:43:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/11018007/7004
8 years, 2 months ago (2012-10-02 00:48:40 UTC) #15
commit-bot: I haz the power
8 years, 2 months ago (2012-10-02 02:43:28 UTC) #16
Change committed as 159626

Powered by Google App Engine
This is Rietveld 408576698