commit | d58f90aade9812b8d20d09c51a1352f1533870fd | [log] [tgz] |
---|---|---|
author | Victor Hugo Vianna Silva <victorvianna@google.com> | Mon Jan 09 14:22:24 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 09 14:22:24 2023 |
tree | 0b5964cc7e6c7540040dbb22c8858e4da64cca5f | |
parent | 1a202474fa301a4d44e96083a8779dee6acdd07e [diff] |
[sync] Convert StartupController callback into OnceCallback No behavior is changed. 1) start_engine_time_ is acting purely as a boolean that tells whether the RepeatingCallback start_engine_callback_ was run. 2) Rather than have a RepeatingCallback and the boolean, use a OnceCallback and check for nullness. Instead of having a Reset() method that resets the boolean, destroy and recreate the object. Bug: 1374718 Change-Id: I54af3fdea121833e1da8a2020e8034d64f43447b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4138195 Auto-Submit: Victor Vianna <victorvianna@google.com> Quick-Run: Victor Vianna <victorvianna@google.com> Commit-Queue: Victor Vianna <victorvianna@google.com> Reviewed-by: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/main@{#1090301}
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.