Thomas ptal (sorry for the large diff, the change is mostly mechanical and related)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Profile::FromBrowserContext(web_contents()->GetBrowserContext()), this,Is that intentional that we use this instead of `GetBrowser()`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Profile::FromBrowserContext(web_contents()->GetBrowserContext()), this,Is that intentional that we use this instead of `GetBrowser()`?
Yeah it's intentional in this case - I shifted `PermissionPromptPreviewsCoordinator` over to using `Profile` since it only needed the `Profile`, only needed it in the constructor, and is a much smaller dependency than `Browser` (which we try to avoid if we can).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[permissions] Use WebContents over Browser as class and function param
There are no intended behavioral changes.
This CL does the following to take WebContents constructor param
instead of Browser
- PermissionPromptBaseView and associated subclasses
- PermissionPromptDelegate
- GetUrlIdentity
The Browser is instead fetched on demand from the WebContents as
necessary.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |