Description[Image fetcher] Add Content-Location header to image_fetcher::RequestMetadata
Previous CL (2793983002) added a pointer to net::HttpResponseHeaders
into image_fetcher::RequestMetadata. This was flawed because the object
got deleted before the callback to ImageFetcher was called. A solution
would be to create a copy of the headers object from its raw_headers()
content. This seems too heavy for a corner-use case needing one header.
As a solution, this CL removes the what has been added by the previous
CL and adds a new struct field for this particular use case.
BUG=644102
Review-Url: https://codereview.chromium.org/2807143002
Cr-Commit-Position: refs/heads/master@{#463260}
Committed: https://chromium.googlesource.com/chromium/src/+/fe52c7f885b342a38e4351317b63f56982cb8955
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 12 (8 generated)
|