commit | 7aafb252707cea921372879a5a91074a76e7df35 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Mon Feb 17 11:07:49 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 17 11:07:49 2025 |
tree | 9aa0f337f1ea53008afd458068dfaf09faede5e6 | |
parent | 6757ff2024b7b5097e36bda14f910eb149a72abf [diff] |
Try to record NetLog events in net_unittests as much as possible FileNetLogObserver uses a queue to combine event writing into a single task. The number of events to combine was a fixed value (15). When a crash happen, FileNetLogObserver may have lost some latest events. This behavior is reasonable for chrome builds, but for net_unittests, we would want to record NetLog events as much as possible. This CL adds a way to configure the number of events to combine and configure the number to 1 for net_unittests. Bug: 336167322 Change-Id: I1cb9452a999495192ad6be0929c41b6be387cbd8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6273043 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/main@{#1421004}
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.