
The tracing statements changed in this CL are always executing on the main thread, so `RenderThread::Get()` should never be null and therefore these statements should not be causing crashes like the ones reported in https://crbug.com/1444377. OTOH, avoiding the dereference makes the code simpler and more obviously correct. Bug: 1444377 Change-Id: I14f3999dbf4dbc3637822172d376d132d14b1acb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4533855 Reviewed-by: Alexander Timin <altimin@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/main@{#1144479}
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: