Chromium Code Reviews
Help | Chromium Project | Sign in
(51)

Issue 2168004: view-cache: Refactor ViewCacheHelper and ViewHttpCacheJobFactory... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 12 months ago by rvargas (out of office)
Modified:
3 years, 11 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

view-cache: Refactor ViewCacheHelper and ViewHttpCacheJobFactory to use asynchronous interfaces. BUG=26730 TEST=unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=48438

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Total comments: 16

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+621 lines, -121 lines) Patch
M chrome/browser/net/view_http_cache_job_factory.cc View 1 2 2 chunks +69 lines, -23 lines 0 comments Download
M net/http/http_cache.h View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M net/net.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/view_cache_helper.h View 1 2 2 chunks +103 lines, -8 lines 0 comments Download
M net/url_request/view_cache_helper.cc View 1 2 5 chunks +245 lines, -88 lines 0 comments Download
A net/url_request/view_cache_helper_unittest.cc View 1 chunk +201 lines, -0 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 6 (0 generated)
rvargas (out of office)
http://codereview.chromium.org/2168004/diff/1/2 File chrome/browser/net/view_http_cache_job_factory.cc (right): http://codereview.chromium.org/2168004/diff/1/2#newcode70 chrome/browser/net/view_http_cache_job_factory.cc:70: bool ViewHttpCacheJob::ReadRawData(net::IOBuffer* buf, int buf_size, We probably want to ...
4 years, 12 months ago (2010-05-25 19:23:23 UTC) #1
eroman
http://codereview.chromium.org/2168004/diff/1/4 File net/url_request/view_cache_helper.cc (right): http://codereview.chromium.org/2168004/diff/1/4#newcode63 net/url_request/view_cache_helper.cc:63: const std::string& url_prefix) { nit:indent http://codereview.chromium.org/2168004/diff/1/5 File net/url_request/view_cache_helper.h (right): ...
4 years, 12 months ago (2010-05-25 21:23:54 UTC) #2
rvargas (out of office)
Thanks http://codereview.chromium.org/2168004/diff/1/4 File net/url_request/view_cache_helper.cc (right): http://codereview.chromium.org/2168004/diff/1/4#newcode63 net/url_request/view_cache_helper.cc:63: const std::string& url_prefix) { On 2010/05/25 21:23:54, eroman ...
4 years, 12 months ago (2010-05-25 22:19:24 UTC) #3
eroman
lgtm http://codereview.chromium.org/2168004/diff/8001/9003 File net/url_request/view_cache_helper.cc (right): http://codereview.chromium.org/2168004/diff/8001/9003#newcode91 net/url_request/view_cache_helper.cc:91: context_ = context; I think we should DCHECK(context), ...
4 years, 12 months ago (2010-05-25 23:36:04 UTC) #4
rvargas (out of office)
Thanks. I added a new file with unit tests. http://codereview.chromium.org/2168004/diff/8001/9003 File net/url_request/view_cache_helper.cc (right): http://codereview.chromium.org/2168004/diff/8001/9003#newcode91 net/url_request/view_cache_helper.cc:91: ...
4 years, 12 months ago (2010-05-26 20:10:15 UTC) #5
eroman
4 years, 12 months ago (2010-05-27 19:34:38 UTC) #6
lgtm.

thanks for adding the unittest!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be