commit | db5f196bcd4c7004bcf5907453696be8b5d4eaab | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <[email protected]> | Mon Jul 14 22:38:20 2025 |
committer | Chromium LUCI CQ <[email protected]> | Mon Jul 14 22:38:20 2025 |
tree | 981975fbe2bbb6da7d479424c0cecd2a3bdc760d | |
parent | 3d3737eb92b892836c9c6a82e1161e9c1704d668 [diff] |
Always trigger OnPrefetchCompletedOrFailed This CL always calls `PrefetchContainer::Observer::OnPrefetchCompletedOrFailed` when `PrefetchContainer::OnPrefetchComplete()` is called. (Previously it wasn't called if `IsDecoy()` is true) This is to make the following three methods called under the same condition: - `PrefetchService::OnPrefetchResponseCompleted()` (when `PrefetchContainer` is non-null) - `PrefetchContainer::OnPrefetchComplete()` - `PrefetchContainer::Observer::OnPrefetchCompletedOrFailed()` To keep the behavior when switching the caller of `PrefetchService::OnPrefetchResponseCompleted()` to PrefetchContainer::Observer` in https://chromium-review.googlesource.com/c/chromium/src/+/6336991. This CL adds a `IsDecoy()` check to keep the existing PrefetchHandle's behavior, just in case. Bug: 400761083 Change-Id: I37b2df8248452bf0a99039e1681520b5239cc8b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6703355 Reviewed-by: Taiyo Mizuhashi <[email protected]> Reviewed-by: Ken Okada <[email protected]> Commit-Queue: Hiroshige Hayashizaki <[email protected]> Cr-Commit-Position: refs/heads/main@{#1486614}
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.