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

Issue 2791653002: Serialize and deserialize HostCache for persistence (Closed)

Created:
3 years, 8 months ago by mgersh
Modified:
3 years, 6 months ago
Reviewers:
Julia Tuttle
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, eroman, mmenke, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Serialize and deserialize HostCache for persistence HostCache was already being serialized for NetLog, but that code will soon be needed for persistence as well, so move it into HostCache and add the reverse operation. BUG=605149 Review-Url: https://codereview.chromium.org/2791653002 Cr-Commit-Position: refs/heads/master@{#476083} Committed: https://chromium.googlesource.com/chromium/src/+/af3ec7bf5692ea667b3dccc3b6140fb8aae41ea7

Patch Set 1 #

Total comments: 5

Patch Set 2 : comments #

Patch Set 3 : fix warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -34 lines) Patch
M net/dns/host_cache.h View 5 chunks +20 lines, -0 lines 0 comments Download
M net/dns/host_cache.cc View 1 2 5 chunks +150 lines, -2 lines 0 comments Download
M net/dns/host_cache_unittest.cc View 2 chunks +112 lines, -0 lines 0 comments Download
M net/log/net_log_util.cc View 1 chunk +2 lines, -32 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
mgersh
PTAL
3 years, 7 months ago (2017-05-26 16:57:27 UTC) #6
Julia Tuttle
lgtm with a couple nits. https://codereview.chromium.org/2791653002/diff/60001/net/dns/host_cache.cc File net/dns/host_cache.cc (right): https://codereview.chromium.org/2791653002/diff/60001/net/dns/host_cache.cc#newcode34 net/dns/host_cache.cc:34: // String constants for ...
3 years, 6 months ago (2017-05-30 16:15:17 UTC) #7
mgersh
Thanks! https://codereview.chromium.org/2791653002/diff/60001/net/dns/host_cache.cc File net/dns/host_cache.cc (right): https://codereview.chromium.org/2791653002/diff/60001/net/dns/host_cache.cc#newcode34 net/dns/host_cache.cc:34: // String constants for dictionary keys. On 2017/05/30 ...
3 years, 6 months ago (2017-05-31 16:25:55 UTC) #8
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/2791653002/80001
3 years, 6 months ago (2017-05-31 16:27:01 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/423829)
3 years, 6 months ago (2017-05-31 17:17:32 UTC) #13
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/2791653002/90001
3 years, 6 months ago (2017-05-31 18:12:31 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/468608)
3 years, 6 months ago (2017-05-31 21:33:14 UTC) #18
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/2791653002/90001
3 years, 6 months ago (2017-05-31 21:36:19 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 23:15:52 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/af3ec7bf5692ea667b3dccc3b614...

Powered by Google App Engine
This is Rietveld 408576698