-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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}
- Loading branch information
Rachel Wong
authored and
Chromium LUCI CQ
committed
Aug 15, 2022
1 parent
49644bb
commit 4308970
Showing
7 changed files
with
58 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters