commit | f3098eae148e66488f4ab65479a1df790e133895 | [log] [tgz] |
---|---|---|
author | Taiyo Mizuhashi <taiyo@chromium.org> | Wed Oct 11 13:14:26 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 11 13:14:26 2023 |
tree | cd9a2d835fb2ca8c1c4577d3295cc07f7353e370 | |
parent | aa5362ec0b20d7d3fc8772b08cde9f6c28485e81 [diff] |
Prerender: Add unittests of PreloadingDecider for non-eager prerender reset This CL introduces some unittests for non-eager prerender reset to preloading_decider_unittest.cc by parameterizing corresponding tests for prefetch. To do this, this CL - implements some interface of |MockPrerenderer|. - introduce |PreloadingDeciderWithParameterizedSpeculationActionTest|, which inherits |PreloadingDeciderTest| and parameterized for prefetch / prerender. Due to this, this CL moves pointer event heuristics tests, which were parameterized on |PreloadingDeciderTest|, to |PreloadingDeciderPointerEventHeuristicsTest|. - changes corresponding tests to be parameterized. Bug: 1464021 Change-Id: Id526d5410032eede7b6465dc6e9b704648f12224 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4852556 Commit-Queue: Taiyo Mizuhashi <taiyo@chromium.org> Reviewed-by: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Lingqi Chi <lingqi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1208205}
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.