commit | 43089700adfc14b19d8e17adafc1324654eea64a | [log] [tgz] |
---|---|---|
author | Rachel Wong <wrong@chromium.org> | Mon Aug 15 07:28:03 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 15 07:28:03 2022 |
tree | e8bcefdbd9693df6a61339d1df94ff7f9d40dd9a | |
parent | 49644bb257a12c37f12c0993a09bf2c785696764 [diff] |
[files] Separate ItemSuggestCache construction from its provider. This CL separates out the construction for ItemSuggestCache and ZeroStateDriveProvider. This allows for dependency injection, which will help with ZSDP unit tests. Also, result callbacks will now be registered via RegisterCallback instead of being passed into the constructor of ItemSuggestCache. Allows multiple callbacks to be registered if necessary. Bug: 1348449 Change-Id: I2986c5968da042d24c7a1dd6ce6a9035cc82ebdc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3828340 Commit-Queue: Rachel Wong <wrong@chromium.org> Reviewed-by: Amanda Deacon <amandadeacon@chromium.org> Cr-Commit-Position: refs/heads/main@{#1034990}
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.