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

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

Created:
10 years, 7 months ago by rvargas (doing something else)
Modified:
9 years, 6 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

Messages

Total messages: 6 (0 generated)
rvargas (doing something else)
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 ...
10 years, 7 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): ...
10 years, 7 months ago (2010-05-25 21:23:54 UTC) #2
rvargas (doing something else)
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 ...
10 years, 7 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), ...
10 years, 7 months ago (2010-05-25 23:36:04 UTC) #4
rvargas (doing something else)
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: ...
10 years, 7 months ago (2010-05-26 20:10:15 UTC) #5
eroman
10 years, 7 months ago (2010-05-27 19:34:38 UTC) #6
lgtm.

thanks for adding the unittest!

Powered by Google App Engine
This is Rietveld 408576698