PTAL.
Muyao: main reviewer.
Xiyuan: ash_test_helper update.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
session_manager::SessionManager session_manager_;Why do we need this here instead of using the instance provided by `AshTestHelper` ?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
session_manager::SessionManager session_manager_;Why do we need this here instead of using the instance provided by `AshTestHelper` ?
To resolve the dependency issue.
Currently, in production, the events are happening in the following order.
Specifically, ash depends on some data held by profiles.
Some of the BrowserContextKeyedServices depends on SessionManager.
I'd like to resolve the order of destruction later (actually I'm experimenting locally w/ some chat w/ oshima@, fyi: crrev.com/c/6698631), but it's far beyond of this CL's scope, and probably will take some time.
Ash and SessionManager is tightly coupled in AshTestHelper in terms of destruction, we cannot simply use it.
Left some comment.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm
session_manager::SessionManager session_manager_;Hidehiko AbeWhy do we need this here instead of using the instance provided by `AshTestHelper` ?
To resolve the dependency issue.
Currently, in production, the events are happening in the following order.
- ProfileManager is created.
- SessionManager is created.
- Ash is created
- Primary profile is created.
- ...
- Ash is destroyed
- ProfileManager with any loaded Profiles are destroyed
- SessionManager is destroyed.
Specifically, ash depends on some data held by profiles.
Some of the BrowserContextKeyedServices depends on SessionManager.I'd like to resolve the order of destruction later (actually I'm experimenting locally w/ some chat w/ oshima@, fyi: crrev.com/c/6698631), but it's far beyond of this CL's scope, and probably will take some time.
Ash and SessionManager is tightly coupled in AshTestHelper in terms of destruction, we cannot simply use it.
Left some comment.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Thank you for review!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
7 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Remove MediaUIAsh crosapi.
BUG=354842935
TEST=Tryjob
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |