Support printing spans, especially in tests. This allows EXPECT_EQ(span, span2) to print more useful output on a failure. The span<char> case is specialized to print the contents as a string instead of each char in an array. Remove an operator<< implementation for span from the shape_result_bloberizer in blink, which helps demonstrate the need for this support. Bug: 40285824 Change-Id: I679aa5ae1c26bfa250ee8f899a6d6e11770d767f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5604849 Reviewed-by: Ćukasz Anforowicz <lukasza@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Owners-Override: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#1312855}
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.