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

Issue 1051703002: Use the types from stdint.h in MD5 API. (Closed)

Created:
5 years, 8 months ago by tfarina
Modified:
5 years, 8 months ago
Reviewers:
Nico
CC:
chromium-reviews, erikwright+watch_chromium.org, viettrungluu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the types from stdint.h in MD5 API. BUG=138542 TEST=base_unittests --gtest_filter=MD5* R=thakis@chromium.org Committed: https://crrev.com/66e103df9bce01de86298644ef4572dbf9635276 Cr-Commit-Position: refs/heads/master@{#323277}

Patch Set 1 #

Total comments: 6

Patch Set 2 : thakis review #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -17 lines) Patch
M base/md5.cc View 1 8 chunks +18 lines, -17 lines 2 comments Download

Messages

Total messages: 11 (2 generated)
tfarina
PTAL
5 years, 8 months ago (2015-04-01 12:23:30 UTC) #1
Nico
lgtm with comments addressed https://codereview.chromium.org/1051703002/diff/1/base/md5.cc File base/md5.cc (right): https://codereview.chromium.org/1051703002/diff/1/base/md5.cc#newcode27 base/md5.cc:27: #include <stdint.h> // For intptr_t. ...
5 years, 8 months ago (2015-04-01 14:49:49 UTC) #2
tfarina
Thanks for the review! Pushing to CQ. https://codereview.chromium.org/1051703002/diff/1/base/md5.cc File base/md5.cc (right): https://codereview.chromium.org/1051703002/diff/1/base/md5.cc#newcode27 base/md5.cc:27: #include <stdint.h> ...
5 years, 8 months ago (2015-04-01 15:51:28 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051703002/20001
5 years, 8 months ago (2015-04-01 15:52:03 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-01 17:36:38 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/66e103df9bce01de86298644ef4572dbf9635276 Cr-Commit-Position: refs/heads/master@{#323277}
5 years, 8 months ago (2015-04-01 17:37:12 UTC) #8
Nico
https://codereview.chromium.org/1051703002/diff/20001/base/md5.cc File base/md5.cc (right): https://codereview.chromium.org/1051703002/diff/20001/base/md5.cc#newcode43 base/md5.cc:43: t = (uint32_t)((unsigned)buf[3] << 8 | buf[2]) << 16 ...
5 years, 8 months ago (2015-04-01 17:38:40 UTC) #9
tfarina
https://codereview.chromium.org/1051703002/diff/20001/base/md5.cc File base/md5.cc (right): https://codereview.chromium.org/1051703002/diff/20001/base/md5.cc#newcode43 base/md5.cc:43: t = (uint32_t)((unsigned)buf[3] << 8 | buf[2]) << 16 ...
5 years, 8 months ago (2015-04-01 17:57:48 UTC) #10
Nico
5 years, 8 months ago (2015-04-01 18:02:13 UTC) #11
Message was sent while issue was closed.
On 2015/04/01 17:57:48, tfarina wrote:
> https://codereview.chromium.org/1051703002/diff/20001/base/md5.cc
> File base/md5.cc (right):
> 
> https://codereview.chromium.org/1051703002/diff/20001/base/md5.cc#newcode43
> base/md5.cc:43: t = (uint32_t)((unsigned)buf[3] << 8 | buf[2]) << 16 |
> On 2015/04/01 17:38:40, Nico wrote:
> > Hm, running clang-format on files that aren't clang-formatted is weird. Now
> the
> > inner block has an indent of 2 whikle the rest of the file uses an indent of
> 8.
> 
> I'm open to do anything you prefer. I think we have some options here. Just
let
> me know and I will upload another patch. Sorry for not realizing you were not
> asking me to run clang-format :/
> 
> 1- go back to 8 spaces with indentation fixed.
> 2- clang-format the whole file (I agree this is worse).
> 3- make this function 2 spaces indented.

Probably easiest to just clang-format the whole file.

Powered by Google App Engine
This is Rietveld 408576698