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

Issue 2774603003: Doom and create new entry when validation is not a match (Closed)

Created:
3 years, 9 months ago by shivanisha
Modified:
3 years, 5 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, gavinp+disk_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

If parallel validation leads to a no match then in addition to dooming this entry, also create a new entry. BUG=472740 Review-Url: https://codereview.chromium.org/2774603003 Cr-Commit-Position: refs/heads/master@{#484365} Committed: https://chromium.googlesource.com/chromium/src/+/36a816e7d1de8c3e1a2a720b05743ceb8405653d

Patch Set 1 #

Patch Set 2 : Used TransitionToState in DoSuccessfulSendRequest #

Total comments: 8

Patch Set 3 : Rebased with parent branch #

Patch Set 4 : Added a new state + tests #

Total comments: 10

Patch Set 5 : Rebased with parent branch #

Patch Set 6 : Feedback addressed #

Patch Set 7 : Race handling in doom and create case. #

Patch Set 8 : Rebased with parent branch #

Total comments: 9

Patch Set 9 : Refactored/Changed no-match handling in HttpCache. #

Patch Set 10 : Rebased with parent branch #

Total comments: 13

Patch Set 11 : Feedback addressed. #

Total comments: 24

Patch Set 12 : Rebased with refs/heads/master@{#482382} #

Patch Set 13 : Feedback addressed, test added #

Patch Set 14 : Rebased with refs/heads/master@{#484325} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -37 lines) Patch
M net/http/http_cache.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -2 lines 0 comments Download
M net/http/http_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +28 lines, -2 lines 0 comments Download
M net/http/http_cache_transaction.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +11 lines, -0 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +67 lines, -11 lines 0 comments Download
M net/http/http_cache_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +73 lines, -18 lines 0 comments Download
M net/http/mock_http_cache.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M net/http/mock_http_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 81 (62 generated)
shivanisha
This is a follow up CL to parallel cache validation. If parallel validation leads to ...
3 years, 9 months ago (2017-03-23 19:07:49 UTC) #2
Randy Smith (Not in Mondays)
First pass comments. https://codereview.chromium.org/2774603003/diff/20001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/2774603003/diff/20001/net/http/http_cache_transaction.cc#newcode1140 net/http/http_cache_transaction.cc:1140: mode_ = NONE; I presume this ...
3 years, 8 months ago (2017-04-04 21:54:03 UTC) #3
shivanisha
PTAL, Thanks. https://codereview.chromium.org/2774603003/diff/20001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/2774603003/diff/20001/net/http/http_cache_transaction.cc#newcode1140 net/http/http_cache_transaction.cc:1140: mode_ = NONE; On 2017/04/04 at 21:54:03, ...
3 years, 8 months ago (2017-04-07 23:24:13 UTC) #6
Randy Smith (Not in Mondays)
Pretty close to stamp; the only thing stopping me from a conditional stamp is the ...
3 years, 8 months ago (2017-04-11 19:41:08 UTC) #7
shivanisha
Please note the following major changes in addition to feedback and rebasing with parent branch: ...
3 years, 8 months ago (2017-04-24 17:23:46 UTC) #29
Randy Smith (Not in Mondays)
LGTM--all of the below are suggestions/thoughts for the future. https://codereview.chromium.org/2774603003/diff/300001/net/http/http_cache.cc File net/http/http_cache.cc (right): https://codereview.chromium.org/2774603003/diff/300001/net/http/http_cache.cc#newcode986 net/http/http_cache.cc:986: ...
3 years, 7 months ago (2017-04-27 17:47:13 UTC) #43
jkarlin
After this patch is rebased I'll take a pass as well.
3 years, 7 months ago (2017-05-26 13:22:34 UTC) #44
shivanisha
On 2017/05/26 at 13:22:34, jkarlin wrote: > After this patch is rebased I'll take a ...
3 years, 7 months ago (2017-05-26 13:58:31 UTC) #45
shivanisha
PTAL, Thanks! A lot of changes happened in the parent branch after this was last ...
3 years, 6 months ago (2017-05-31 15:51:47 UTC) #50
Randy Smith (Not in Mondays)
On 2017/05/31 15:51:47, shivanisha wrote: > PTAL, Thanks! > A lot of changes happened in ...
3 years, 6 months ago (2017-05-31 16:04:36 UTC) #51
shivanisha
On 2017/05/31 at 16:04:36, rdsmith wrote: > On 2017/05/31 15:51:47, shivanisha wrote: > > PTAL, ...
3 years, 6 months ago (2017-05-31 16:15:34 UTC) #52
jkarlin
Looking good https://codereview.chromium.org/2774603003/diff/410001/net/http/http_cache.cc File net/http/http_cache.cc (right): https://codereview.chromium.org/2774603003/diff/410001/net/http/http_cache.cc#newcode953 net/http/http_cache.cc:953: // TODO(shivanisha) Can transaction be a writer ...
3 years, 6 months ago (2017-06-09 17:04:50 UTC) #57
shivanisha
PTAL, Thanks! Addressed latest feedback. https://codereview.chromium.org/2774603003/diff/410001/net/http/http_cache.cc File net/http/http_cache.cc (right): https://codereview.chromium.org/2774603003/diff/410001/net/http/http_cache.cc#newcode953 net/http/http_cache.cc:953: // TODO(shivanisha) Can transaction ...
3 years, 6 months ago (2017-06-12 18:01:23 UTC) #59
jkarlin
lgtm with some comments. Mostly comments on comment clarity. One new test that I'd like ...
3 years, 6 months ago (2017-06-16 18:28:02 UTC) #66
shivanisha
Thanks Josh, Randy! https://codereview.chromium.org/2774603003/diff/450001/net/http/http_cache.cc File net/http/http_cache.cc (right): https://codereview.chromium.org/2774603003/diff/450001/net/http/http_cache.cc#newcode952 net/http/http_cache.cc:952: Transaction* transaction) { On 2017/06/16 at ...
3 years, 5 months ago (2017-06-27 15:31:15 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2774603003/510001
3 years, 5 months ago (2017-07-05 19:15:53 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/251668)
3 years, 5 months ago (2017-07-05 19:42:44 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2774603003/510001
3 years, 5 months ago (2017-07-05 22:21:36 UTC) #78
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 22:28:04 UTC) #81
Message was sent while issue was closed.
Committed patchset #14 (id:510001) as
https://chromium.googlesource.com/chromium/src/+/36a816e7d1de8c3e1a2a720b0574...

Powered by Google App Engine
This is Rietveld 408576698