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

Issue 405693002: [refactor] Use base::CheckedNumeric<> in place of manual checks. (Closed)

Created:
6 years, 5 months ago by eroman
Modified:
6 years, 5 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

[refactor] Use base::CheckedNumeric<> in place of manual checks. BUG=394821 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284546

Patch Set 1 #

Patch Set 2 : rebase and fix compile error #

Patch Set 3 : fix testing order for openssl #

Total comments: 1

Patch Set 4 : convert from unsigned int --> int #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -50 lines) Patch
M content/child/webcrypto/nss/aes_cbc_nss.cc View 4 chunks +10 lines, -9 lines 0 comments Download
M content/child/webcrypto/nss/aes_gcm_nss.cc View 2 chunks +17 lines, -18 lines 0 comments Download
M content/child/webcrypto/nss/aes_kw_nss.cc View 4 chunks +8 lines, -5 lines 0 comments Download
M content/child/webcrypto/nss/rsa_key_nss.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/child/webcrypto/openssl/aes_cbc_openssl.cc View 1 2 3 4 chunks +14 lines, -16 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
eroman
6 years, 5 months ago (2014-07-18 21:53:50 UTC) #1
Ryan Sleevi
lgtm
6 years, 5 months ago (2014-07-18 22:56:05 UTC) #2
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 5 months ago (2014-07-19 13:32:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/405693002/1
6 years, 5 months ago (2014-07-19 13:33:01 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-19 16:46:22 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-19 16:50:55 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/162661)
6 years, 5 months ago (2014-07-19 16:50:56 UTC) #7
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 5 months ago (2014-07-21 15:32:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/405693002/20001
6 years, 5 months ago (2014-07-21 15:33:25 UTC) #9
eroman
The CQ bit was unchecked by eroman@chromium.org
6 years, 5 months ago (2014-07-21 17:53:49 UTC) #10
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 5 months ago (2014-07-21 17:57:19 UTC) #11
eroman
The CQ bit was unchecked by eroman@chromium.org
6 years, 5 months ago (2014-07-21 17:57:34 UTC) #12
eroman
https://codereview.chromium.org/405693002/diff/60001/content/child/webcrypto/openssl/aes_cbc_openssl.cc File content/child/webcrypto/openssl/aes_cbc_openssl.cc (right): https://codereview.chromium.org/405693002/diff/60001/content/child/webcrypto/openssl/aes_cbc_openssl.cc#newcode54 content/child/webcrypto/openssl/aes_cbc_openssl.cc:54: base::CheckedNumeric<unsigned int> output_max_len = data.byte_length(); I have uploaded a ...
6 years, 5 months ago (2014-07-21 18:12:42 UTC) #13
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 5 months ago (2014-07-21 18:12:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/405693002/80001
6 years, 5 months ago (2014-07-21 18:14:43 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium ...
6 years, 5 months ago (2014-07-21 20:14:00 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-21 20:17:15 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/161250)
6 years, 5 months ago (2014-07-21 20:17:16 UTC) #18
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 5 months ago (2014-07-21 21:52:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/405693002/80001
6 years, 5 months ago (2014-07-21 21:54:36 UTC) #20
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 00:08:33 UTC) #21
Message was sent while issue was closed.
Change committed as 284546

Powered by Google App Engine
This is Rietveld 408576698