
This reverts commit ee63f22624
.
Reason for revert: This caused an official build failure see bug (chromium:365483228)
Original change's description:
> Extensions: WAR: Metrics on resource redirect that's not web accessible
>
> This is for a server initiated redirect. Renderer initiated redirects
> don't appear to go through where this histogram boolean is set. Both MV3
> and MV2 are included.
>
> > Does this mean that opaque origins (like sandboxed frames) can still
> server-redirect to web-accessible resources?
>
> Opaque origins can be covered in a follow up CL if they're deemed worthy
> of being considered.
>
> Doc:
> https://docs.google.com/document/d/1ALcxHF2m85pqxEtJVQ_shHqzlIBpr3747ceSDuw7E_w
>
> Bug: chromium:40060076
> Change-Id: Ice6ec3ac5334546b88a6f8584a2aaaf89c3a2162
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5835905
> Reviewed-by: Justin Lulejian <jlulejian@chromium.org>
> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
> Commit-Queue: Solomon Kinard <solomonkinard@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1352326}
Bug: chromium:40060076
Change-Id: Ifb8d10cf02dfff30b224f1a1f20b63dfede4a391
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5844889
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Rasika Navarange <rasikan@google.com>
Commit-Queue: Rasika Navarange <rasikan@google.com>
Cr-Commit-Position: refs/heads/main@{#1352663}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: