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

Issue 10822013: Code clean-up in AesDecryptor and test. (Closed)

Created:
8 years, 5 months ago by xhwang
Modified:
8 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Code clean-up in AesDecryptor and test. - Added GetKey() and SetKey() in AesDecryptor. - Moved static functions out of AesDecryptorTest to make them file scope functions. BUG=none TEST=media_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148984

Patch Set 1 #

Total comments: 27

Patch Set 2 : Resolve comments. #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Remove "using" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -135 lines) Patch
M media/crypto/aes_decryptor.h View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M media/crypto/aes_decryptor.cc View 1 2 3 6 chunks +38 lines, -35 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 2 11 chunks +96 lines, -99 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
xhwang
Hello ddorwin & fgalligan, These are some by-products while I am working on the "resume ...
8 years, 5 months ago (2012-07-25 16:59:22 UTC) #1
fgalligan1
http://codereview.chromium.org/10822013/diff/1/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): http://codereview.chromium.org/10822013/diff/1/media/crypto/aes_decryptor.cc#newcode87 media/crypto/aes_decryptor.cc:87: // Returns true and fill |decrypted_text| if if decryption ...
8 years, 5 months ago (2012-07-25 19:33:50 UTC) #2
ddorwin
http://codereview.chromium.org/10822013/diff/1/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): http://codereview.chromium.org/10822013/diff/1/media/crypto/aes_decryptor.cc#newcode88 media/crypto/aes_decryptor.cc:88: // Returns false and leave |decrypted_text| as is if ...
8 years, 5 months ago (2012-07-26 21:24:07 UTC) #3
ddorwin
Please add () to function names in the description. The first bullet could be read ...
8 years, 5 months ago (2012-07-26 22:26:39 UTC) #4
xhwang
On 2012/07/26 22:26:39, ddorwin wrote: > Please add () to function names in the description. ...
8 years, 5 months ago (2012-07-26 23:36:09 UTC) #5
xhwang
Comments mostly resolved. PTAL! I'll start rebasing shortly. http://codereview.chromium.org/10822013/diff/1/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): http://codereview.chromium.org/10822013/diff/1/media/crypto/aes_decryptor.cc#newcode87 media/crypto/aes_decryptor.cc:87: // ...
8 years, 5 months ago (2012-07-26 23:36:47 UTC) #6
ddorwin
lgtm
8 years, 5 months ago (2012-07-27 00:00:35 UTC) #7
xhwang
Ah, that's a painful rebase. Now DecryptData() looks good so I'll leave it as is. ...
8 years, 4 months ago (2012-07-27 15:49:23 UTC) #8
ddorwin
lgtm
8 years, 4 months ago (2012-07-28 05:21:06 UTC) #9
Ryan Sleevi
drive by http://codereview.chromium.org/10822013/diff/2004/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): http://codereview.chromium.org/10822013/diff/2004/media/crypto/aes_decryptor.cc#newcode20 media/crypto/aes_decryptor.cc:20: FWIW, please see https://groups.google.com/a/chromium.org/d/msg/chromium-dev/qSrl_UAqAkQ/SGDZGRAgl4wJ for the general ...
8 years, 4 months ago (2012-07-30 06:52:49 UTC) #10
xhwang
http://codereview.chromium.org/10822013/diff/2004/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): http://codereview.chromium.org/10822013/diff/2004/media/crypto/aes_decryptor.cc#newcode20 media/crypto/aes_decryptor.cc:20: On 2012/07/30 06:52:50, Ryan Sleevi wrote: > FWIW, please ...
8 years, 4 months ago (2012-07-30 16:22:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/10822013/3005
8 years, 4 months ago (2012-07-30 16:22:52 UTC) #12
commit-bot: I haz the power
8 years, 4 months ago (2012-07-30 18:41:31 UTC) #13
Change committed as 148984

Powered by Google App Engine
This is Rietveld 408576698