commit | f18a44fedeb29764b2b5336c120fdd90ef1a3f5c | [log] [tgz] |
---|---|---|
author | Joe Mason <joenotcharles@google.com> | Mon Mar 11 21:37:15 2024 |
committer | Prudhvikumar Bommana <pbommana@google.com> | Mon Mar 11 21:37:15 2024 |
tree | 73b2889b87cc0157b584dda6d841d8ec70ef2359 | |
parent | 2f6e228863a584d355174489155705ab9d178b85 [diff] |
Use ScopedObservation in PageResourceMonitor This unregisters the observer in its destructor, preventing PageResourceMonitor from forgetting to unregister on shutdown. (cherry picked from commit 255c8341c067b7191c9430cf39556c6f7660df56) Bug: 327696052 Change-Id: I9eca2aa32e42f1371a792326a07790c9cd9892d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5341335 Auto-Submit: Joe Mason <joenotcharles@google.com> Reviewed-by: Titouan Rigoudy <titouan@chromium.org> Commit-Queue: Titouan Rigoudy <titouan@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1268334} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5352142 Reviewed-by: Prudhvikumar Bommana <pbommana@google.com> Commit-Queue: Prudhvikumar Bommana <pbommana@google.com> Reviewed-by: Steven Luong <stluong@chromium.org> Cr-Commit-Position: refs/branch-heads/6261@{#1057} Cr-Branched-From: 9755d9d81e4a8cb5b4f76b23b761457479dbb06b-refs/heads/main@{#1250580}
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.