@tha...@google.com - here is another batch, its a slice of: https://chromium-review.googlesource.com/c/chromium/src/+/5546431
so in theorie, after this CL - the other one has around 20-30 files - and after that StringPiece is gone from base 🙌
stats after the 2 CLs
```
git grep -l base::StringPiece | awk -F "/" '{r[$1] +=1} END{for(x in r) { printf("%05d\t %s\n",r[x], x) }}'|sort
00001 base
00001 chrome
00001 PRESUBMIT.py
00001 styleguide
00001 ui
00002 net
00004 docs
00017 tools
00033 third_party
```
(most of them are "false-positve" as the grep is pretty open; but it's meant to, better than miss one)
todos after both:
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Commit-Queue | +2 |
\o/
for (std::string_view component : base::SplitStringPiece(
(unrelated, tsk tsk)
| `Foo?` | `std::optional<CppType>`, where `CppType` is the value type defined by the appropriate traits class specialization (e.g. `StructTraits`, `mojo::MapTraits`, etc.). This may be customized by the [typemapping](#Enabling-a-New-Type-Mapping).
(also unrelated)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
hello reviewers!
thanks in advance, for your review-energy and patience!
this is one of the final CL's for the StringPiece removal!
the script is linked in the commit-message, and it has already been run/merged multiple times
anyway, let me know if you'd want me to address anything
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Owners-Override | +1 |
Code-Review | +1 |
LGTM for Mojo (I did not review //base)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Convert base::StringPiece to std::string_view left overs.
The changes of this CL are made using the following script.
Script: https://issues.chromium.org/issues/40506050#comment343
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |