Chromium change: https://source.chromium.org/chromium/chromium/src/+/ec21aa685072efe21773e95ebef277e5bfa39214 extensions: Use BrowserWindowInterface in ExtensionViewHost When we didn't have BrowserWindowInterface, we introduced an Android-only signature of ExtensionViewHost::CreatePopupHost() that takes Profile* instead of Browser*. As we move to use the common action logic in ExtensionActionViewController, we should use BWI instead. This patch updates the UI classes to pass around ChromeAndroidTask that corresponds to BrowserWindowInterface. Then ExtensionActionPopupContents can now pass it to the C++ layer via JNI. Bug: 448199168 Change-Id: I003df88ee4e4f6f70d27753367b539a2bd571a9f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7089957