Chromium Code Reviews
DescriptionMake 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 #
Dependent Patchsets: Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||