commit | ca019b28f7c346046f318f913e7f42d24505f8ce | [log] [tgz] |
---|---|---|
author | Ho Cheung <hocheung@chromium.org> | Fri Apr 25 00:16:49 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 25 00:16:49 2025 |
tree | c1540182a30560e791e7cddacacf479b6ad6f412 | |
parent | dda4749e9a03ef28d59654abf61614c12202c4b5 [diff] |
[remoting] Refactor NativeMessagingWriterUnitTest to use safer byte-span APIs Replaced low-level pointer casts with base::as_writable_byte_span and span_from_ref for type-safe buffer operations. Consolidated test logic using array-based message handling and added precise size assertions through sizeof(). Bug: 40285824 Change-Id: I4f0eaeafaa800f0f57170fe59d1e022ff39b0fce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6482257 Reviewed-by: Yuwei Huang <yuweih@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Commit-Queue: Ho Cheung <hocheung@chromium.org> Cr-Commit-Position: refs/heads/main@{#1451550}
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.