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

Issue 547513002: Remove disk_cache::BackendImpl::OpenPrevEntry() and all users. (Closed)

Created:
6 years, 3 months ago by gavinp
Modified:
6 years, 3 months ago
Reviewers:
clamy
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove disk_cache::BackendImpl::OpenPrevEntry() and all users. While working on https://codereview.chromium.org/542733002/ to fix issue 410276, a question came up about how important OpenPrevEntry was to maintain; it made that CL more complex and for what users? It turns out, it's not really used. See https://groups.google.com/a/chromium.org/forum/#!topic/net-dev/wlMR_zNJ85k for a discussion. Let's remove it and save ourselves some headaches. R=clamy@chromium.org BUG=410276 Committed: https://crrev.com/1d6a91d497fccffbc7b26be4d9c6025a4e42a3dd Cr-Commit-Position: refs/heads/master@{#293593}

Patch Set 1 #

Patch Set 2 : narrower #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -1278 lines) Patch
M net/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M net/disk_cache/blockfile/backend_impl.h View 4 chunks +1 line, -10 lines 0 comments Download
M net/disk_cache/blockfile/backend_impl.cc View 5 chunks +69 lines, -98 lines 0 comments Download
M net/disk_cache/blockfile/backend_impl_v3.h View 2 chunks +0 lines, -8 lines 0 comments Download
M net/disk_cache/blockfile/backend_impl_v3.cc View 2 chunks +0 lines, -88 lines 1 comment Download
M net/disk_cache/blockfile/in_flight_backend_io.h View 3 chunks +0 lines, -4 lines 0 comments Download
M net/disk_cache/blockfile/in_flight_backend_io.cc View 4 chunks +2 lines, -18 lines 0 comments Download
M net/net.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M net/tools/dump_cache/dump_cache.cc View 1 4 chunks +1 line, -101 lines 0 comments Download
D net/tools/dump_cache/upgrade_win.h View 1 chunk +0 lines, -20 lines 0 comments Download
D net/tools/dump_cache/upgrade_win.cc View 1 chunk +0 lines, -927 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
gavinp
clamy: as you suggested, here we are! This change is discussed in https://groups.google.com/a/chromium.org/forum/#!topic/net-dev/wlMR_zNJ85k as well.
6 years, 3 months ago (2014-09-05 02:06:06 UTC) #1
clamy
Thanks! Removing unused code is nice :). https://chromiumcodereview.appspot.com/547513002/diff/20001/net/disk_cache/blockfile/backend_impl_v3.cc File net/disk_cache/blockfile/backend_impl_v3.cc (left): https://chromiumcodereview.appspot.com/547513002/diff/20001/net/disk_cache/blockfile/backend_impl_v3.cc#oldcode966 net/disk_cache/blockfile/backend_impl_v3.cc:966: int BackendImplV3::OpenFollowingEntry(bool ...
6 years, 3 months ago (2014-09-05 14:47:40 UTC) #2
gavinp
On 2014/09/05 14:47:40, clamy wrote: > Thanks! Removing unused code is nice :). > > ...
6 years, 3 months ago (2014-09-05 15:10:51 UTC) #3
clamy
Ok, rslgtm.
6 years, 3 months ago (2014-09-05 15:15:44 UTC) #4
clamy
On 2014/09/05 15:15:44, clamy wrote: > Ok, rslgtm. lgtm (seems it did not work above).
6 years, 3 months ago (2014-09-05 15:16:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/547513002/20001
6 years, 3 months ago (2014-09-05 18:22:51 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/2537)
6 years, 3 months ago (2014-09-05 19:18:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/547513002/20001
6 years, 3 months ago (2014-09-05 23:04:35 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as aa411cf597e9f6c1e13f2030f715e71c51f973c9
6 years, 3 months ago (2014-09-05 23:33:19 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:41:54 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1d6a91d497fccffbc7b26be4d9c6025a4e42a3dd
Cr-Commit-Position: refs/heads/master@{#293593}

Powered by Google App Engine
This is Rietveld 408576698