-
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.
[CDM] Cache and database implementation with ModelSource.
This CL implements database with default model support. It handles logic for API with ModelSource as param. In next set of CLs, will introduce few new methods for default models as well as rewrite logic for Update API to handle deleting entries from SegmentInfoDatabase for both server and default models. The plan is to : 1. Add model source to database API and migrate callers to call the API with server model. (doesn't break anything as this is kind of same flow as before). 2. Implement the logic for database API. 3. Handle the callers logic to support default models. This ensures that the compilation works. Also different clients will have different handling for default models at different layers. So client default models handling could be a part a other set of CLs. Planned CL: - Handling changes required for default models in all the callers. Change-Id: I127b04f9fc2bb5d8b467eef393c2e2b185e3617a Bug: b/284427798 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4568822 Reviewed-by: Shakti Sahu <shaktisahu@chromium.org> Commit-Queue: Ritika Gupta <ritikagup@google.com> Cr-Commit-Position: refs/heads/main@{#1153599}
- Loading branch information
Ritika Gupta
authored and
Chromium LUCI CQ
committed
Jun 6, 2023
1 parent
3f950e3
commit fbbee37
Showing
5 changed files
with
163 additions
and
53 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
Oops, something went wrong.