| commit | 3979ca49e0a2debce3f1f9e38b47b5d7658b901b | [log] [tgz] |
|---|---|---|
| author | Joe Mason <joenotcharles@google.com> | Tue Feb 14 22:00:24 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 14 22:00:24 2023 |
| tree | 5d82499100c12a28f2e53ce516f96d6475f487d5 | |
| parent | e1964603537937200e1893a09e180df5c2905ce7 [diff] |
[PM] Cleanup: convert visitors to base::FunctionRef FunctionRef has less overhead than RepeatingCallback since it can be stack-allocated, and allows capturing lambdas. It's preferred for synchronous visitors where the FunctionRef remains in scope. Also use BindLambdaForTesting to remove a bit of clutter from page_discarder_browsertest.cc. Change-Id: I0c9ff9d8e0c4f44a6791afe7d8ccd7c41e8edc1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4250537 Auto-Submit: Joe Mason <joenotcharles@google.com> Reviewed-by: Patrick Monette <pmonette@chromium.org> Commit-Queue: Joe Mason <joenotcharles@google.com> Cr-Commit-Position: refs/heads/main@{#1105303}
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.