commit | 7c041d859eb181abb37cd80839f3b28d6831372c | [log] [tgz] |
---|---|---|
author | Takashi Toyoshima <toyoshim@chromium.org> | Tue Sep 26 16:09:21 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 26 16:09:21 2023 |
tree | 94542b06ff8b92c8f65b8cd185f0c314e97f11dd | |
parent | fd194fcb0e1a4900b140b17129267f5520c50757 [diff] |
LinkPreview: Make FrameTree have is_(FrameTree::Type) methods Now FrameTree has only is_prerendering() to determine the kPrerender FrameTree::Type, and callers rely on type() to identify other types. This works, but makes callers audit a little harder. Before adding kPreview type to the FrameTree::Type, I will add similar methods for other types so that I can identify prerendering specific code path easily. Bug: b/299239133 Change-Id: If4540e044f0f60639fd4d20bbdedbd5dd775f2ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4891931 Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/main@{#1201622}
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.