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

Issue 2485653002: Cleanup and minor refactoring of LogDnsClient (Closed)

Created:
4 years, 1 month ago by Rob Percival
Modified:
4 years, 1 month ago
CC:
chromium-reviews, rsleevi+watch_chromium.org, certificate-transparency-chrome_googlegroups.com, Eran Messeri
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup and minor refactoring of LogDnsClient Given that a MerkleAuditProof only proves an inclusion path for a tree of a specific size, a tree_size parameter was added to it in https://crrev.com/89f010d82559c73e7d23cbf067137ceb1df698df to keep track of which tree the proof was for. Because of this, it's no longer necessary to store the tree size separately in LogDnsClient::AuditProofQuery. Instead, it can just use the tree_size member of the MerkleAuditProof. The QueryAuditProof method still takes the tree_size as a separate parameter, so as to not make the proof parameter a mixed in/out parameter, which could be confusing. BUG=624894 Committed: https://crrev.com/5bfec4f1be40d333d92c0ebe200135be4928701c Cr-Commit-Position: refs/heads/master@{#430604}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -37 lines) Patch
M components/certificate_transparency/log_dns_client.h View 1 chunk +2 lines, -4 lines 0 comments Download
M components/certificate_transparency/log_dns_client.cc View 7 chunks +18 lines, -21 lines 0 comments Download
M components/certificate_transparency/log_dns_client_unittest.cc View 6 chunks +6 lines, -12 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
Rob Percival
PTAL
4 years, 1 month ago (2016-11-07 17:04:31 UTC) #3
Ryan Sleevi
lgtm
4 years, 1 month ago (2016-11-07 19:29:23 UTC) #8
Ryan Sleevi
Note: I gave the LG, but perhaps the description could be more clear. It covers ...
4 years, 1 month ago (2016-11-07 19:33:26 UTC) #9
Eran Messeri
lgtm as well.
4 years, 1 month ago (2016-11-07 20:34:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2485653002/1
4 years, 1 month ago (2016-11-08 14:13:32 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-08 14:17:31 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 14:18:52 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5bfec4f1be40d333d92c0ebe200135be4928701c
Cr-Commit-Position: refs/heads/master@{#430604}

Powered by Google App Engine
This is Rietveld 408576698