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

Issue 1898033006: DNS: Add stubs for persisting data across restarts (Closed)

Created:
4 years, 8 months ago by Julia Tuttle
Modified:
4 years, 4 months ago
Reviewers:
Charlie Harrison
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DNS: Add stubs for persisting data across restarts I'm going to start experimenting with making certain data in the DNS stack (cache, learned RTT, etc.) persist across restarts or network type changes (e.g. on 2G -> 3G -> 2G, restore the previous 2G RTT instead of starting over). This CL adds the basic set of methods that will be called, but does not add the code to include anything in the persisted data, nor the code to actually persist the data outside the DNS stack. BUG=605149 Committed: https://crrev.com/d7fa5853a258f273864bd53dfbb9bb3c52e6dd1f Cr-Commit-Position: refs/heads/master@{#408624}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : rebase and fix bad merge. #

Total comments: 6

Patch Set 5 : Make a couple of requested changes. #

Patch Set 6 : Try rolling back weird IOS changes. #

Patch Set 7 : Fix IOS issue? #

Total comments: 2

Patch Set 8 : rebase, revert net_common.gypi #

Patch Set 9 : *silently glares at editor, reuploads with proper spacing* #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -1 line) Patch
M net/dns/dns_client.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M net/dns/dns_client.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M net/dns/dns_session.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/dns/dns_session.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M net/dns/dns_socket_pool.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/dns/dns_test_util.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M net/dns/dns_test_util.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M net/dns/host_resolver.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M net/dns/host_resolver.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M net/dns/host_resolver_impl.h View 1 2 3 4 5 6 7 4 chunks +15 lines, -0 lines 0 comments Download
M net/dns/host_resolver_impl.cc View 1 2 3 4 5 6 7 4 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (34 generated)
Julia Tuttle
PTAL, csharrison.
4 years, 5 months ago (2016-07-25 19:54:46 UTC) #9
Charlie Harrison
Can you explain a bit why you need a persist callback? https://codereview.chromium.org/1898033006/diff/60001/net/dns/dns_client.cc File net/dns/dns_client.cc (right): ...
4 years, 4 months ago (2016-07-26 13:49:42 UTC) #12
Julia Tuttle
PTAL, csharrison. https://codereview.chromium.org/1898033006/diff/60001/net/dns/dns_client.cc File net/dns/dns_client.cc (right): https://codereview.chromium.org/1898033006/diff/60001/net/dns/dns_client.cc#newcode24 net/dns/dns_client.cc:24: #if !defined(OS_IOS) On 2016/07/26 13:49:42, csharrison wrote: ...
4 years, 4 months ago (2016-07-26 21:10:14 UTC) #23
Charlie Harrison
lgtm with a question https://codereview.chromium.org/1898033006/diff/120001/net/net_common.gypi File net/net_common.gypi (left): https://codereview.chromium.org/1898033006/diff/120001/net/net_common.gypi#oldcode108 net/net_common.gypi:108: 'dns/dns_client.cc', Is this a tangential ...
4 years, 4 months ago (2016-07-27 17:59:47 UTC) #26
Julia Tuttle
It was part of the iOS fiddling that I reverted. Let's find out if I ...
4 years, 4 months ago (2016-07-28 19:48:01 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/1898033006/160001
4 years, 4 months ago (2016-07-29 13:13:37 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-07-29 13:17:12 UTC) #40
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 13:18:26 UTC) #42
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d7fa5853a258f273864bd53dfbb9bb3c52e6dd1f
Cr-Commit-Position: refs/heads/master@{#408624}

Powered by Google App Engine
This is Rietveld 408576698