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

Issue 261045: Start migrating the disk cache to using FilePath. (Closed)

Created:
11 years, 2 months ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Start migrating the disk cache to using FilePath. This converts BackendImpl to using FilePath. BUG=24444 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28711

Patch Set 1 #

Patch Set 2 : 80 col #

Patch Set 3 : stress_cache crash_cache #

Patch Set 4 : dump cache #

Total comments: 4

Patch Set 5 : comments #

Total comments: 1

Patch Set 6 : lei wins #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -74 lines) Patch
M net/disk_cache/backend_impl.h View 4 chunks +7 lines, -6 lines 0 comments Download
M net/disk_cache/backend_impl.cc View 1 2 3 4 5 10 chunks +43 lines, -42 lines 0 comments Download
M net/disk_cache/backend_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/cache_util.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M net/disk_cache/cache_util_posix.cc View 2 chunks +13 lines, -5 lines 0 comments Download
M net/disk_cache/cache_util_win.cc View 1 chunk +15 lines, -7 lines 0 comments Download
M net/disk_cache/disk_cache_test_base.h View 2 chunks +3 lines, -1 line 0 comments Download
M net/disk_cache/disk_cache_test_base.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/disk_cache/disk_cache_test_util.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/disk_cache/entry_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/disk_cache/stress_cache.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/crash_cache/crash_cache.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/dump_cache/upgrade.cc View 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tony
I think the trybot is full of lies and this should be fine on Windows. ...
11 years, 2 months ago (2009-10-09 22:15:19 UTC) #1
Lei Zhang
LGTM http://codereview.chromium.org/261045/diff/3001/4001 File net/disk_cache/backend_impl.cc (right): http://codereview.chromium.org/261045/diff/3001/4001#newcode71 Line 71: std::wstring tmp = StringPrintf(L"%ls%ls_%03d", L"old_", name.c_str(), index); ...
11 years, 2 months ago (2009-10-09 22:28:51 UTC) #2
tony
http://codereview.chromium.org/261045/diff/3001/4001 File net/disk_cache/backend_impl.cc (right): http://codereview.chromium.org/261045/diff/3001/4001#newcode71 Line 71: std::wstring tmp = StringPrintf(L"%ls%ls_%03d", L"old_", name.c_str(), index); On ...
11 years, 2 months ago (2009-10-09 22:48:07 UTC) #3
Lei Zhang
http://codereview.chromium.org/261045/diff/6001/2016 File net/disk_cache/backend_impl.cc (right): http://codereview.chromium.org/261045/diff/6001/2016#newcode70 Line 70: std::string tmp = StringPrintf("%ls%ls_%03d", "old_", name.c_str(), index); Isn't ...
11 years, 2 months ago (2009-10-09 22:52:10 UTC) #4
tony
Yes, you're right. Fixed.
11 years, 2 months ago (2009-10-09 22:55:15 UTC) #5
Lei Zhang
LGTM
11 years, 2 months ago (2009-10-09 22:57:16 UTC) #6
rvargas (doing something else)
11 years, 2 months ago (2009-10-10 00:40:13 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698