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

Issue 1980673002: Make ResourceResponse's cached CacheControlHeader mutable. (Closed)

Created:
4 years, 7 months ago by dewittj
Modified:
4 years, 7 months ago
Reviewers:
esprehn
CC:
blink-reviews, chromium-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ResourceResponse's cached CacheControlHeader mutable. This allows a variety of accessor methods to be called even on const ResourceResponse objects: cacheControlContainsNoCache() cacheControlContainsNoStore() cacheControlContainsMustRevalidate() cacheControlMaxAge() cacheControlStaleWhileRevalidate() Making this mutable doesn't affect the const semantics of the ResourceRequest. Also note that this field is already mutable on ResourceResponse. BUG= Committed: https://crrev.com/64b2852e18fbf675c524f1bd4911e5acb1643c8f Cr-Commit-Position: refs/heads/master@{#393619}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M third_party/WebKit/Source/platform/network/ResourceResponse.h View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/network/ResourceResponse.cpp View 2 chunks +5 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (5 generated)
dewittj
esprehn: PTAL, thanks.
4 years, 7 months ago (2016-05-13 18:33:27 UTC) #3
esprehn
This should be done in tandem with code that needs it. is there a bug ...
4 years, 7 months ago (2016-05-13 18:39:39 UTC) #4
dewittj
On 2016/05/13 18:39:39, esprehn wrote: > This should be done in tandem with code that ...
4 years, 7 months ago (2016-05-13 19:13:41 UTC) #5
esprehn
On 2016/05/13 at 19:13:41, dewittj wrote: > On 2016/05/13 18:39:39, esprehn wrote: > > This ...
4 years, 7 months ago (2016-05-13 19:23:14 UTC) #6
dewittj
Will do. Thanks for your patience!
4 years, 7 months ago (2016-05-13 19:37:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980673002/1
4 years, 7 months ago (2016-05-13 19:37:33 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-13 20:37:41 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 20:38:51 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/64b2852e18fbf675c524f1bd4911e5acb1643c8f
Cr-Commit-Position: refs/heads/master@{#393619}

Powered by Google App Engine
This is Rietveld 408576698