commit | 23df04c02198fdf7c4c68a206aa90aa57195beed | [log] [tgz] |
---|---|---|
author | Rohit Bhatia <bhatiarohit@google.com> | Wed Aug 24 22:42:14 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 24 22:42:14 2022 |
tree | f3442f144c692506b2ead5325aa0d16f7476698e | |
parent | 127227a8f65ea549c35217a663d79dbf5935ca00 [diff] |
Find Plugins by BrowserContext This CL adds newer functions that check safety of plugins by BrowserContext, and not renderer_process_id. This is needed as we want to set pdfs loaded from history service to open in the browser by default, which requires this check. The pdfs do not have an associated renderer process, and the check only requires a BrowserContext anyway. Bug: 1352120 Change-Id: I232071529b62b0213e4e760796596f6b07fd5b83 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3849622 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Min Qin <qinmin@chromium.org> Commit-Queue: Rohit Bhatia <bhatiarohit@google.com> Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1038995}
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.