Chromium Code Reviews
DescriptionAvoid gurl -> origin -> gurl conversion in AddCookieHeaderAndStart
SameDomainOrHost does not require Origins. In fact, we just convert the
origins back to GURLs to do the check, which just looks at the host
piece of the url.
This conversion is not free in either direction, as we need to do
allocations, copies, and in some cases, url-related policies
(e.g. in constructing the underlying SchemeHostPort of Origin).
BUG=664174
Committed: https://crrev.com/d5c68c496fa9111fb45e482d4feea0f1a2cdcb9e
Cr-Commit-Position: refs/heads/master@{#436092}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||