Chromium Code Reviews

Issue 117533003: Make the blockfile cache an optional build product for chrome target. (Closed)

Created:
6 years, 11 months ago by gavinp
Modified:
4 years, 9 months ago
Reviewers:
rvargas (doing something else)
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

Make the blockfile cache an optional build product for chrome target. This change adds a new build option to net to not build the blockfile backend, and touches up cache_creator.cc enough to let chrome build using this option. Remaining to be done is to fix the disk cache tests to respect this... R=rvargas BUG=331062

Patch Set 1 #

Patch Set 2 : nonce upload #

Patch Set 3 : default value #

Total comments: 3

Patch Set 4 : rebase only #

Patch Set 5 : rebase to trunk #

Patch Set 6 : rebase to trunk #

Patch Set 7 : exclude with a pattern, remove header dependency #

Patch Set 8 : rebase to trunk #

Patch Set 9 : rebase #

Patch Set 10 : rebase to upstream CL #

Patch Set 11 : rebase to upstream patch 17 #

Total comments: 1

Patch Set 12 : rebase only #

Patch Set 13 : fix bad merge #

Patch Set 14 : #inculde ordre #

Total comments: 3

Patch Set 15 : rebase #

Patch Set 16 : fix automated rebase #

Patch Set 17 : rebase #

Patch Set 18 : rebase again #

Patch Set 19 : another rebase #

Total comments: 1

Patch Set 20 : rebase #

Unified diffs Side-by-side diffs Stats (+19 lines, -3 lines)
M net/disk_cache/cache_creator.cc View 4 chunks +10 lines, -2 lines 0 comments
M net/net.gyp View 2 chunks +9 lines, -1 line 0 comments

Messages

Total messages: 7 (0 generated)
gavinp
Here's the start of making the blockfile cache a configurable build product. This change doesn't ...
6 years, 11 months ago (2014-01-02 22:52:50 UTC) #1
rvargas (doing something else)
https://codereview.chromium.org/117533003/diff/290001/net/disk_cache/cache_creator.cc File net/disk_cache/cache_creator.cc (right): https://codereview.chromium.org/117533003/diff/290001/net/disk_cache/cache_creator.cc#newcode15 net/disk_cache/cache_creator.cc:15: #ifdef USE_BLOCKFILE_CACHE_BACKEND Can we use OS_ANDROID here? Having too ...
6 years, 11 months ago (2014-01-03 19:56:13 UTC) #2
gavinp
PTAL, this is now rebased on top of the rebased upstream, and it'd be great ...
6 years, 10 months ago (2014-02-05 20:54:13 UTC) #3
rvargas (doing something else)
https://codereview.chromium.org/117533003/diff/290001/net/disk_cache/cache_creator.cc File net/disk_cache/cache_creator.cc (right): https://codereview.chromium.org/117533003/diff/290001/net/disk_cache/cache_creator.cc#newcode15 net/disk_cache/cache_creator.cc:15: #ifdef USE_BLOCKFILE_CACHE_BACKEND On 2014/02/05 20:54:13, gavinp wrote: > On ...
6 years, 10 months ago (2014-02-06 05:09:28 UTC) #4
gavinp
PTAL, this is now updated to its upstream review. https://codereview.chromium.org/117533003/diff/1920001/net/net.gyp File net/net.gyp (right): https://codereview.chromium.org/117533003/diff/1920001/net/net.gyp#newcode1341 net/net.gyp:1341: ...
6 years, 10 months ago (2014-02-09 15:29:37 UTC) #5
gavinp
I think Ricardo meant "codesearch" when he said "cs or similar above." I was going ...
6 years, 10 months ago (2014-02-13 20:18:04 UTC) #6
rvargas (doing something else)
6 years, 10 months ago (2014-02-13 21:46:01 UTC) #7
On 2014/02/13 20:18:04, gavinp wrote:
> I think Ricardo meant "codesearch" when he said "cs or similar above."
> 
> I was going to remediate this CL per the review, adding an explicit list of
> excluded sources, when I came across this existing pattern very close to the
> call site for blockfile cache.
> 
> Is blockfile backend different from ftp? How?
> 
> If it isn't, should we fix ftp too?
> 
> https://codereview.chromium.org/117533003/diff/2820001/net/net.gyp
> File net/net.gyp (right):
> 
> https://codereview.chromium.org/117533003/diff/2820001/net/net.gyp#newcode1320
> net/net.gyp:1320: ['exclude', '^ftp/'],
> We exclude by pattern on ftp already. Should we fix that?

Yes, we should

Powered by Google App Engine