Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove legacy SourceStream::SourceTypes
The are used in Accept-Encoding handling. The remove legacy types: SDCH/SDCH_POSSIBLE: Sdch support has since been removed. GZIP_FALLBACK: This used to be used when sniffing if deflate responses might actually be gzipped instead, but is no longer used (I believe we removed that logic, though may have just restructured it) Rejected: I believe this was specifically for when Brotli wasn't advertised but we received Brotli responses anyways, to discourage sites failing to respect Accept-Encoding advertisements, though it may have applied to other schemes. This logic has since been removed. We just don't decompress when we see an unadvertised encoding, currently. Invalid: I'm not sure if this was ever used. The only histogram that used these enums is Net.ContentDecodingFailed2, which expired and was removed in https://crbug.com/969974 Bug: NONE Change-Id: Id6968b8de8254e065ad57eb7a0fdb35d600c64dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2716903 Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Maksim Orlovich <morlovich@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#857189}
- Loading branch information