Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Move EngineSession from SessionManager to BrowserState #7867

Closed
pocmo opened this issue Jul 27, 2020 · 0 comments · Fixed by #8121
Closed

Move EngineSession from SessionManager to BrowserState #7867

pocmo opened this issue Jul 27, 2020 · 0 comments · Fixed by #8121
Assignees
Labels
E13 Estimation points: 13 🌟 feature New functionality and improvements <session> Component: browser-session <state> Component: browser-state
Milestone

Comments

@pocmo
Copy link
Contributor

pocmo commented Jul 27, 2020

It is finally time to move the handling of EngineSession from SessionManager to BrowserState. A Middleware will take care of creating EngineSession instances as needed.

┆Issue is synchronized with this Jira Task

@pocmo pocmo added 🌟 feature New functionality and improvements <session> Component: browser-session <state> Component: browser-state labels Jul 27, 2020
@pocmo pocmo added the E13 Estimation points: 13 label Jul 27, 2020
pocmo added a commit to pocmo/android-components that referenced this issue Jul 29, 2020
@data-sync-user data-sync-user changed the title Move EngineSession from SessionManager to BrowserState FNX3-22856 ⁃ Move EngineSession from SessionManager to BrowserState Aug 5, 2020
@st3fan st3fan changed the title FNX3-22856 ⁃ Move EngineSession from SessionManager to BrowserState Move EngineSession from SessionManager to BrowserState Aug 5, 2020
pocmo added a commit that referenced this issue Aug 14, 2020
@pocmo pocmo linked a pull request Aug 14, 2020 that will close this issue
4 tasks
csadilek added a commit that referenced this issue Aug 14, 2020
csadilek added a commit that referenced this issue Aug 17, 2020
csadilek added a commit that referenced this issue Aug 18, 2020
csadilek added a commit that referenced this issue Aug 18, 2020
csadilek added a commit that referenced this issue Aug 18, 2020
csadilek added a commit that referenced this issue Aug 19, 2020
csadilek added a commit to csadilek/android-components that referenced this issue Aug 20, 2020
csadilek pushed a commit that referenced this issue Aug 26, 2020
Co-authored-by: Christian Sadilek <[email protected]>

Issue #8121: Replace MigrationStore with MigrationContext and prevent usage outside of a Middleware.

* Before executing the reducer chain we now verify that we are on the store thread and throw if we are on a different thread.
* MigrationContext now provides a store property that returns the underlying Store instance. This can be used to pass it to
  other components and threads that are not part of the Middleware.
* Fixed existing Middleware implementations to use the MiddlewareContext or pass the actual Store instance around.

foo
csadilek pushed a commit that referenced this issue Aug 26, 2020
Co-authored-by: Christian Sadilek <[email protected]>

Issue #8121: Replace MigrationStore with MigrationContext and prevent usage outside of a Middleware.

* Before executing the reducer chain we now verify that we are on the store thread and throw if we are on a different thread.
* MigrationContext now provides a store property that returns the underlying Store instance. This can be used to pass it to
  other components and threads that are not part of the Middleware.
* Fixed existing Middleware implementations to use the MiddlewareContext or pass the actual Store instance around.
bors bot pushed a commit that referenced this issue Aug 26, 2020
8121: Issue #7867: Move EngineSession from SessionManager to BrowserState. r=csadilek a=pocmo

Fenix PR: mozilla-mobile/fenix#13933
R-B PR: mozilla-mobile/reference-browser#1292



Co-authored-by: Sebastian Kaspari <[email protected]>
@bors bors bot closed this as completed in #8121 Aug 26, 2020
@pocmo pocmo added this to the 57.0.0 🤏 milestone Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E13 Estimation points: 13 🌟 feature New functionality and improvements <session> Component: browser-session <state> Component: browser-state
Projects
None yet
2 participants