-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sync] Refactor DataTypeController::Connect()'s signature
This addresses a TODO to avoid injecting ModelTypeConfigurer into controllers, and instead simply return the ActivationResponse to the calling site (which can interact with ModelTypeConfigurer). The only exceptional case for this is PROXY_TABS, which doesn't Connect(). The chosen approach in this patch is that PROXY_TABS bypasses the MODEL_LOADED state and goes directly into RUNNING state, which is somewhat subtle and subject to change in future patches. Change-Id: I9ab3ebeb0743d9ca99b04668b9b0b80c1274b52f Fixed: 967677 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3069268 Reviewed-by: Marc Treib <treib@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#908811}
- Loading branch information
Mikel Astiz
authored and
Chromium LUCI CQ
committed
Aug 5, 2021
1 parent
ce81dd5
commit acaea41
Showing
15 changed files
with
136 additions
and
226 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
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.