Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cast Refactor: separate presentation setup/teardown from controllers.
This is a pre-step. The new CastService object will be managing the lifetime of start_presentation_context_ and presentation_manager_, and so it is necessary to detangle the setup/lifetime of these objects from info stored in the controllers. This first step is to demonstrate that this initial decoupling breaks no existing behavior. The next step will be to create an initial CastService that will take over the lifetimes of start_presentation_context_, presentation_manager_, and query_result_manager_ exposing those objects plus some new events to the controllers. The step after that will be to create a CastToSink method to the Controller that, given a sink id, will create a route to that sink id, and hide the presentation objects from the controllers. BUG=b:201430609 Change-Id: I59251c0de05afc9016a01bf24cf0699c3a69a357 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3544126 Reviewed-by: Takumi Fujimoto <takumif@chromium.org> Reviewed-by: George Benz <gbj@google.com> Commit-Queue: Brian Malcolm <bmalcolm@chromium.org> Cr-Commit-Position: refs/heads/main@{#985584}
- Loading branch information
Brian Malcolm
authored and
Chromium LUCI CQ
committed
Mar 26, 2022
1 parent
9280bd4
commit bfb9a18
Showing
5 changed files
with
38 additions
and
29 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