Set Ready For Review
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// The data/size members (or begin/end) give conversion to span already, but
// we provide this operator as an optimization to combine two virtual method
// calls into one.
explicit operator base::span<const uint8_t>() const LIFETIME_BOUND {
return AsSpan();
}Why are you promoting `AsSpan` out of `protected:` instead of using this?
const auto favicon_span = base::as_chars(favicon_bytes->AsSpan());I don’t think there’s a strong argument in favor of `auto` for this.
base::ToVector(mem->AsSpan()));It seems like some of this’s internal span-accepting SetArrayPropertyImpl should be exposed, rather than forcing the creation of vectors when you’re already holding a span.
auto span = transfer->data->AsSpan().subspan(transfer->offset, chunk_length);Same.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |