| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
browser->GetBrowserForMigrationOnly()->session_id()));nit: `browser->GetSessionID();`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
browser->GetBrowserForMigrationOnly()->session_id()));Glenn Hartmannnit: `browser->GetSessionID();`
Done
| 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. |
22 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: chrome/browser/sessions/session_service_base.cc
Insertions: 2, Deletions: 2.
@@ -549,8 +549,8 @@
void SessionServiceBase::OnBrowserActivated(BrowserWindowInterface* browser) {
if (ShouldTrackBrowser(browser)) {
- ScheduleCommand(sessions::CreateSetActiveWindowCommand(
- browser->GetBrowserForMigrationOnly()->session_id()));
+ ScheduleCommand(
+ sessions::CreateSetActiveWindowCommand(browser->GetSessionID()));
}
}
```
[bedrock] Migrate session_service_base.cc away from BrowserListObserver.
Note that this changes the existing observer from listening to all
browsers globally to just listening to browsers within the relevant
Profile.
This migration is part of project bedrock to reduce the dependencies on
Browser and BrowserList. See https://crbug.com/431671320 for more info.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |