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

Issue 2380293002: Adds LogDnsClient::NotifyWhenNotThrottled (Closed)

Created:
4 years, 2 months ago by Rob Percival
Modified:
4 years, 2 months 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

Adds LogDnsClient::NotifyWhenNotThrottled Allows a callback to be registered that will be invoked once the LogDnsClient has stopped throttling queries. BUG=624894 Committed: https://crrev.com/0cb5c9c3ad3a29b0cfd9235cae02c051515fa8c5 Cr-Commit-Position: refs/heads/master@{#426472}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Removes WeakPtr<LogDnsClient> from NotThrottledCallback #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Total comments: 2

Patch Set 6 : Rebase #

Patch Set 7 : Addresses Ryan's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -0 lines) Patch
M components/certificate_transparency/log_dns_client.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M components/certificate_transparency/log_dns_client.cc View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M components/certificate_transparency/log_dns_client_unittest.cc View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (29 generated)
Rob Percival
PTAL
4 years, 2 months ago (2016-09-30 11:59:24 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/2380293002/diff/1/components/certificate_transparency/log_dns_client.cc File components/certificate_transparency/log_dns_client.cc (right): https://codereview.chromium.org/2380293002/diff/1/components/certificate_transparency/log_dns_client.cc#newcode413 components/certificate_transparency/log_dns_client.cc:413: FROM_HERE, base::Bind(callback, weak_ptr_factory_.GetWeakPtr())); From a design perspective: Why asynchronously? ...
4 years, 2 months ago (2016-10-03 23:56:04 UTC) #7
Rob Percival
https://codereview.chromium.org/2380293002/diff/1/components/certificate_transparency/log_dns_client.cc File components/certificate_transparency/log_dns_client.cc (right): https://codereview.chromium.org/2380293002/diff/1/components/certificate_transparency/log_dns_client.cc#newcode413 components/certificate_transparency/log_dns_client.cc:413: FROM_HERE, base::Bind(callback, weak_ptr_factory_.GetWeakPtr())); On 2016/10/03 23:56:04, Ryan Sleevi (slow) ...
4 years, 2 months ago (2016-10-04 18:53:03 UTC) #9
Ryan Sleevi
https://codereview.chromium.org/2380293002/diff/120001/components/certificate_transparency/log_dns_client.cc File components/certificate_transparency/log_dns_client.cc (right): https://codereview.chromium.org/2380293002/diff/120001/components/certificate_transparency/log_dns_client.cc#newcode465 components/certificate_transparency/log_dns_client.cc:465: not_throttled_callbacks_.clear(); Because the base::Callback could result in deletion of ...
4 years, 2 months ago (2016-10-07 15:22:55 UTC) #25
Ryan Sleevi
Sorry, meant to LGTM it % that nit
4 years, 2 months ago (2016-10-07 15:25:00 UTC) #26
Eran Messeri
lgtm
4 years, 2 months ago (2016-10-20 12:02:17 UTC) #27
Rob Percival
https://chromiumcodereview.appspot.com/2380293002/diff/120001/components/certificate_transparency/log_dns_client.cc File components/certificate_transparency/log_dns_client.cc (right): https://chromiumcodereview.appspot.com/2380293002/diff/120001/components/certificate_transparency/log_dns_client.cc#newcode465 components/certificate_transparency/log_dns_client.cc:465: not_throttled_callbacks_.clear(); On 2016/10/07 15:22:55, Ryan Sleevi (at conf til ...
4 years, 2 months ago (2016-10-20 12:43:13 UTC) #29
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/2380293002/180001
4 years, 2 months ago (2016-10-20 14:20:30 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 2 months ago (2016-10-20 14:28:53 UTC) #37
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:18:11 UTC) #39
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0cb5c9c3ad3a29b0cfd9235cae02c051515fa8c5
Cr-Commit-Position: refs/heads/master@{#426472}

Powered by Google App Engine
This is Rietveld 408576698