commit | 9e645c8ac0da3ff40737f946c4b783e3bfb1c443 | [log] [tgz] |
---|---|---|
author | Nan Lin <linnan@chromium.org> | Tue Jan 23 20:13:58 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 23 20:13:58 2024 |
tree | c491381f11da72642dd6c85bf880eb85470a3a14 | |
parent | 964004a9a924ef6033f5ba97f656bfca757027e1 [diff] |
Determine whether the response corresponds to a redirect request based on the response headers Currently AttributionHost::NotifyNavigationRegistrationData() determines whether the response corresponds to a redirect request based on whether it's called from AttributionHost::DidRedirectNavigation() or AttributionHost::DidFinishNavigation(). When the redirect request is cancelled and ignored, AttributionHost::DidRedirectNavigation() is not called, and instead AttributionHost::DidFinishNavigation() will be called with the redirect response. Therefore, we should determine whether the response corresponds to a redirect request based on the response headers. Bug: 1520612 Change-Id: I431a9399d38f9050346d9b019c897164a7a8fc64 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5224342 Reviewed-by: John Delaney <johnidel@chromium.org> Commit-Queue: Nan Lin <linnan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1251006}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.