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

Issue 1928743003: DNS: Support reprioritization of requests. (Closed)

Created:
4 years, 7 months ago by Julia Tuttle
Modified:
4 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, akalin, ben+mojo_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, darin (slow to review), mmenke, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DNS: Support reprioritization of requests. Add HostResolver::ChangeRequestPriority, and make HostResolverImpl update the priority of a request when it's called. Also add an empty stub to HostResolverMojo, since it appears to ignore priorities at the moment. Let other HostResolver subclasses hit a NOTIMPLEMENTED(), since it's a brand new method nobody's using in tests. BUG=607296 Committed: https://crrev.com/c53b19a77794aec3c8d10ebd6552e7523d360a0d Cr-Commit-Position: refs/heads/master@{#391797}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Make a couple of comment changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -8 lines) Patch
M net/dns/host_resolver.h View 1 chunk +6 lines, -0 lines 0 comments Download
M net/dns/host_resolver.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/dns/host_resolver_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/dns/host_resolver_impl.cc View 6 chunks +28 lines, -8 lines 0 comments Download
M net/dns/host_resolver_impl_unittest.cc View 1 2 chunks +42 lines, -0 lines 0 comments Download
M net/dns/host_resolver_mojo.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M net/dns/host_resolver_mojo.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Julia Tuttle
PTAL, rdsmith.
4 years, 7 months ago (2016-04-27 20:57:24 UTC) #2
Julia Tuttle
FYI, akalin. (Review if you want; CCing you because it was your TODO.)
4 years, 7 months ago (2016-04-27 20:58:14 UTC) #3
Randy Smith (Not in Mondays)
Initial comments, but this looks basically fine. Thanks!! https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver.cc File net/dns/host_resolver.cc (right): https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver.cc#newcode108 net/dns/host_resolver.cc:108: NOTIMPLEMENTED(); ...
4 years, 7 months ago (2016-04-28 18:04:40 UTC) #5
Julia Tuttle
PTAL. https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver.cc File net/dns/host_resolver.cc (right): https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver.cc#newcode108 net/dns/host_resolver.cc:108: NOTIMPLEMENTED(); On 2016/04/28 18:04:40, Randy Smith - Not ...
4 years, 7 months ago (2016-05-04 14:43:20 UTC) #6
Julia Tuttle
4 years, 7 months ago (2016-05-04 14:43:33 UTC) #7
mmenke
https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_mojo.cc File net/dns/host_resolver_mojo.cc (right): https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_mojo.cc#newcode97 net/dns/host_resolver_mojo.cc:97: // Do nothing, since Resolve() discarded the priority anyway. ...
4 years, 7 months ago (2016-05-04 17:33:16 UTC) #9
Randy Smith (Not in Mondays)
LGTM; thanks again! (Comments below up to you.) https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_impl_unittest.cc File net/dns/host_resolver_impl_unittest.cc (right): https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_impl_unittest.cc#newcode1206 net/dns/host_resolver_impl_unittest.cc:1206: // ...
4 years, 7 months ago (2016-05-05 00:07:25 UTC) #12
Julia Tuttle
Thanks, Randy! https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_impl_unittest.cc File net/dns/host_resolver_impl_unittest.cc (right): https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_impl_unittest.cc#newcode1206 net/dns/host_resolver_impl_unittest.cc:1206: // run. On 2016/05/05 00:07:25, Randy Smith ...
4 years, 7 months ago (2016-05-05 12:47:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928743003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928743003/20001
4 years, 7 months ago (2016-05-05 12:48:21 UTC) #16
mmenke
https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_mojo.cc File net/dns/host_resolver_mojo.cc (right): https://codereview.chromium.org/1928743003/diff/1/net/dns/host_resolver_mojo.cc#newcode97 net/dns/host_resolver_mojo.cc:97: // Do nothing, since Resolve() discarded the priority anyway. ...
4 years, 7 months ago (2016-05-05 12:51:12 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-05 13:51:41 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 13:52:56 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c53b19a77794aec3c8d10ebd6552e7523d360a0d
Cr-Commit-Position: refs/heads/master@{#391797}

Powered by Google App Engine
This is Rietveld 408576698