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

Issue 2002002: Http Cache: Handle the asynchronous instantiation of the... (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, Paweł Hajdan Jr.
Visibility:
Public.

Description

Http Cache: Handle the asynchronous instantiation of the backend. We queue all trasnactions that reach Start before we are done creating the disk cache. BUG=26729 TEST=unittests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46745

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Total comments: 17

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+624 lines, -191 lines) Patch
M net/http/http_cache.h View 1 9 chunks +40 lines, -13 lines 0 comments Download
M net/http/http_cache.cc View 1 2 3 4 21 chunks +254 lines, -91 lines 0 comments Download
M net/http/http_cache_transaction.h View 1 2 5 chunks +5 lines, -7 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 6 chunks +63 lines, -50 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 8 chunks +262 lines, -30 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rvargas (doing something else)
Part of this change is a rename from NewEntry to PendingOp to be able to ...
10 years, 7 months ago (2010-05-05 23:11:10 UTC) #1
eroman
Some initial nits: http://codereview.chromium.org/2002002/diff/1/3 File net/http/http_cache.cc (right): http://codereview.chromium.org/2002002/diff/1/3#newcode317 net/http/http_cache.cc:317: for (; it != pending_queue.end(); ++it) ...
10 years, 7 months ago (2010-05-06 00:21:10 UTC) #2
rvargas (doing something else)
Thanks, updated. http://codereview.chromium.org/2002002/diff/1/3 File net/http/http_cache.cc (right): http://codereview.chromium.org/2002002/diff/1/3#newcode317 net/http/http_cache.cc:317: for (; it != pending_queue.end(); ++it) I ...
10 years, 7 months ago (2010-05-06 01:02:08 UTC) #3
eroman
lgtm after addressing the following comments: http://codereview.chromium.org/2002002/diff/9001/10002 File net/http/http_cache.cc (right): http://codereview.chromium.org/2002002/diff/9001/10002#newcode455 net/http/http_cache.cc:455: PendingOp* pending_op = ...
10 years, 7 months ago (2010-05-06 06:33:26 UTC) #4
rvargas (doing something else)
Thanks. Everything was addressed (I'll work on the factory on a separate cl) http://codereview.chromium.org/2002002/diff/9001/10002 File ...
10 years, 7 months ago (2010-05-06 20:58:56 UTC) #5
rvargas (doing something else)
10 years, 7 months ago (2010-05-07 01:32:38 UTC) #6
I added the callback pointer to PendinOp to delete it inside the HttpCache
destructor if needed, as we discussed.

Thanks again.

Powered by Google App Engine
This is Rietveld 408576698