commit | 0202b1112466f2dcfd0862ce5bf22a82a800dd4c | [log] [tgz] |
---|---|---|
author | James Cook <jamescook@chromium.org> | Thu Apr 10 19:48:33 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 10 19:48:33 2025 |
tree | 4bfe37835d72fbd852bf114767741640ffd5799e | |
parent | f048a21f5155c112d40d509835e07d1a8e847efe [diff] |
extensions: Port WebstoreInstaller to desktop Android Also port download_crx_util.cc to desktop Android (which supports extensions) and switch to using download_crx_util_android.cc for non-desktop Android only. Leave a TODO to consider renaming it. I wasn't sure what a good name would be. There's no precedent for "_nonextensions.cc" files, nor "_nondesktopandroid.cc". Add some static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE)) to headers for files that have been ported to desktop Android, to make it easier to identify them in the future. Fix a missing browser context keyed service factory registration. Update the hack in CrxInstaller that actually installs the extension. It needs to trigger ExtensionRegistry observer methods for WebstoreInstaller to work properly. I manually tested that drag-and-drop extension install still works on desktop Android. Port the WebstoreInstaller browser tests to Android as well. Bug: 409400272 Change-Id: Idf832b88a1ca96a957fe1d995c5faf5705595264 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6441700 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Reviewed-by: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1445447}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.