forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Desktop Android CRX] Update content clients
We are experimenting with desktop-android configurations for Chrome. This CL updates the content client implementations (ChromeContentClient, ChromeContentBrowserClient, ChromeContentRendererClient) to leverage extensions code on the experimental desktop-android build. In practice, this largely means: * Updating ENABLE_EXTENSIONS (which is true for existing desktop platforms) if-defs to ENABLE_EXTENSIONS_CORE (which is true for both existing platforms and the experimental desktop-android platform). * Adding additional ENABLE_EXTENSIONS blocks for cases where some handling is not yet supported in the experimental build. * Updating ENABLE_EXTENSIONS blocks to use more specific flags, such as ENABLE_GUEST_VIEW and ENABLE_PLATFORM_APPS. With this, the experimental desktop-android build is able to load extensions, start extension processes, and serve resources from the chrome-extensions protocol -- which are major steps in establishing the extensions runtime environment. A browser test has been added to exercise this functionality. This CL should have no production behavior change, since the desktop-android configuration is still highly experimental. Cq-Include-Trybots: luci.chromium.try:android-desktop-arm64-compile-rel,android-desktop-x64-compile-rel Bug: 356905053 Change-Id: I28896e0ad54fdc4619e171e5f10eb7c623725825 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5827844 Commit-Queue: Devlin Cronin <[email protected]> Auto-Submit: Devlin Cronin <[email protected]> Code-Coverage: [email protected] <[email protected]> Commit-Queue: Matthew Denton <[email protected]> Reviewed-by: Lei Zhang <[email protected]> Reviewed-by: Matthew Denton <[email protected]> Cr-Commit-Position: refs/heads/main@{#1349334}
- Loading branch information
Showing
12 changed files
with
212 additions
and
106 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.