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

Issue 2338963002: Store, use and send etags. (Closed)

Created:
4 years, 3 months ago by hubbe
Modified:
4 years, 3 months ago
Reviewers:
DaleCurtis, Tom Bergan
CC:
chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store, use and send etags. We use them to validate/invalide cached but expired data. We send Match-If headers to prevent mixing of old/new cached data. This should all be safe to do, since the HTTP cache already sends etags to manage it's internal cached state, this CL just extends this behavior to apply to client-side in-memory cached data as well. BUG=504194 Committed: https://crrev.com/fd30799f6f8a7d1366d97693b72b0b20be94d5c0 Cr-Commit-Position: refs/heads/master@{#419264}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments addressed #

Patch Set 3 : comments addressed #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -11 lines) Patch
M media/blink/multibuffer_data_source_unittest.cc View 2 chunks +16 lines, -1 line 0 comments Download
M media/blink/resource_multibuffer_data_provider.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M media/blink/resource_multibuffer_data_provider_unittest.cc View 1 2 4 chunks +10 lines, -3 lines 0 comments Download
M media/blink/url_index.h View 3 chunks +6 lines, -0 lines 0 comments Download
M media/blink/url_index.cc View 1 2 3 chunks +29 lines, -7 lines 3 comments Download

Messages

Total messages: 28 (15 generated)
hubbe
4 years, 3 months ago (2016-09-13 22:23:31 UTC) #4
DaleCurtis
lg2m, but +tombergan to verify.
4 years, 3 months ago (2016-09-13 23:30:12 UTC) #6
DaleCurtis
https://codereview.chromium.org/2338963002/diff/1/media/blink/url_index.cc File media/blink/url_index.cc (right): https://codereview.chromium.org/2338963002/diff/1/media/blink/url_index.cc#newcode224 media/blink/url_index.cc:224: bool HasStrongEtag(const scoped_refptr<UrlData>& entry) { Don't pass scoped_refptr by ...
4 years, 3 months ago (2016-09-13 23:31:52 UTC) #7
hubbe
https://codereview.chromium.org/2338963002/diff/1/media/blink/url_index.cc File media/blink/url_index.cc (right): https://codereview.chromium.org/2338963002/diff/1/media/blink/url_index.cc#newcode224 media/blink/url_index.cc:224: bool HasStrongEtag(const scoped_refptr<UrlData>& entry) { On 2016/09/13 23:31:52, DaleCurtis ...
4 years, 3 months ago (2016-09-14 00:23:06 UTC) #11
Tom Bergan
(Can't reply on the codereview tool right now because I left my phone at home, ...
4 years, 3 months ago (2016-09-14 19:04:23 UTC) #15
Tom Bergan
On Wed, Sep 14, 2016 at 12:04 PM, Tom Bergan <tombergan@chromium.org> wrote: > (Can't reply ...
4 years, 3 months ago (2016-09-14 19:07:47 UTC) #16
hubbe
PTAL On 2016/09/14 19:07:47, Tom Bergan wrote: > On Wed, Sep 14, 2016 at 12:04 ...
4 years, 3 months ago (2016-09-16 19:06:07 UTC) #19
Tom Bergan
One more question, otherwise LGTM https://codereview.chromium.org/2338963002/diff/40001/media/blink/url_index.cc File media/blink/url_index.cc (right): https://codereview.chromium.org/2338963002/diff/40001/media/blink/url_index.cc#newcode238 media/blink/url_index.cc:238: return false; Missed this ...
4 years, 3 months ago (2016-09-16 19:30:21 UTC) #20
hubbe
https://codereview.chromium.org/2338963002/diff/40001/media/blink/url_index.cc File media/blink/url_index.cc (right): https://codereview.chromium.org/2338963002/diff/40001/media/blink/url_index.cc#newcode238 media/blink/url_index.cc:238: return false; On 2016/09/16 19:30:21, Tom Bergan wrote: > ...
4 years, 3 months ago (2016-09-16 19:33:41 UTC) #21
Tom Bergan
lgtm Thanks for doing this! https://codereview.chromium.org/2338963002/diff/40001/media/blink/url_index.cc File media/blink/url_index.cc (right): https://codereview.chromium.org/2338963002/diff/40001/media/blink/url_index.cc#newcode238 media/blink/url_index.cc:238: return false; On 2016/09/16 ...
4 years, 3 months ago (2016-09-16 19:45:37 UTC) #22
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/2338963002/40001
4 years, 3 months ago (2016-09-16 19:57:00 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-16 20:10:23 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 20:13:35 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fd30799f6f8a7d1366d97693b72b0b20be94d5c0
Cr-Commit-Position: refs/heads/master@{#419264}

Powered by Google App Engine
This is Rietveld 408576698