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

Issue 7230037: Use base::StringPiece for input parameters in Encryptor, rather than std::string (Closed)

Created:
9 years, 6 months ago by Ryan Sleevi
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Alpha Left Google
Visibility:
Public.

Description

Use base::StringPiece for input parameters in Encryptor, rather than std::string R=wtc BUG=none TEST=crypto_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91800

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Mac fix #

Total comments: 4

Patch Set 4 : Feedback #

Total comments: 1

Patch Set 5 : OpenSSL fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -29 lines) Patch
M crypto/encryptor.h View 1 4 chunks +10 lines, -9 lines 0 comments Download
M crypto/encryptor.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M crypto/encryptor_mac.cc View 1 2 3 3 chunks +9 lines, -5 lines 0 comments Download
M crypto/encryptor_nss.cc View 5 chunks +11 lines, -5 lines 0 comments Download
M crypto/encryptor_openssl.cc View 1 2 3 4 2 chunks +9 lines, -5 lines 0 comments Download
M crypto/encryptor_win.cc View 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ryan Sleevi
wtc: PTAL. I noticed in http://crrev.com/90606 that there was a TODO(hclam) about changing the Encryptor ...
9 years, 6 months ago (2011-06-28 04:47:27 UTC) #1
wtc
http://codereview.chromium.org/7230037/diff/2003/crypto/encryptor.h File crypto/encryptor.h (right): http://codereview.chromium.org/7230037/diff/2003/crypto/encryptor.h#newcode71 crypto/encryptor.h:71: bool Decrypt(const base::StringPiece& ciphertext, std::string* plaintext); It is strange ...
9 years, 5 months ago (2011-06-28 22:42:09 UTC) #2
Ryan Sleevi
http://codereview.chromium.org/7230037/diff/2003/crypto/encryptor.h File crypto/encryptor.h (right): http://codereview.chromium.org/7230037/diff/2003/crypto/encryptor.h#newcode71 crypto/encryptor.h:71: bool Decrypt(const base::StringPiece& ciphertext, std::string* plaintext); On 2011/06/28 22:42:09, ...
9 years, 5 months ago (2011-06-28 22:56:12 UTC) #3
Ryan Sleevi
ping?
9 years, 5 months ago (2011-07-01 05:53:37 UTC) #4
wtc
LGTM. http://codereview.chromium.org/7230037/diff/3007/crypto/encryptor_openssl.cc File crypto/encryptor_openssl.cc (right): http://codereview.chromium.org/7230037/diff/3007/crypto/encryptor_openssl.cc#newcode70 crypto/encryptor_openssl.cc:70: iv_ = iv; This should also be changed ...
9 years, 5 months ago (2011-07-07 00:40:43 UTC) #5
commit-bot: I haz the power
9 years, 5 months ago (2011-07-08 02:53:11 UTC) #6
Change committed as 91800

Powered by Google App Engine
This is Rietveld 408576698