commit | 91e56ab92a642423d76277db7fff483183c36dc3 | [log] [tgz] |
---|---|---|
author | Takashi Toyoshima <toyoshim@chromium.org> | Thu Jun 29 03:46:37 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 29 03:46:37 2023 |
tree | e97ccc88f6d4bbfc468d95ab55e6dd25dc18d522 | |
parent | 99e94eaa7153a117bc1b47a23321d33e82f4c869 [diff] |
Prerender UKM: PrefetchContainer ensures lifecycle on taking SourceId Factor out ukm::SourceId obtaining logic to an anonymous function, and have a lifecycle check before calling GetUkmSourceId(). The method should not be called during prerendering, but prerendering page doesn't make any prefetch request and PrefetchContainer should not be constructed until its activation. Bug: 1245014 Change-Id: Ia9e90e14fba8f3e6a07cf565ae376008e87f582f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4649691 Reviewed-by: Liviu Tinta <liviutinta@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/main@{#1163943}
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.