commit | 34ac4b2fc6f2df2ae7f35f69e0921f01dcd299c0 | [log] [tgz] |
---|---|---|
author | Ryan Sleevi <rsleevi@chromium.org> | Tue May 15 01:46:46 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 15 01:46:46 2018 |
tree | 4f0f54ed165e9abbb9f5e742999f43a6c81841c7 | |
parent | 3e49d5cbe05f9b183de85dd1b70e073864ede333 [diff] |
Switch //net/ntlm to use base::span<const uint8_t> //net/ntlm makes extensive use of uint8_t* pointers with various fixed size requirements. Convert these into defined-extent base::span<>'s so that the compiler can do more work for us to ensure that all the buffers are appropriately sized. This also switches uses of std::basic_string<uint8_t> and base::StringPiece into std::vector<uint8_t> / base::span<uint8_t>, as these are all working on 'data' buffers. Bug: 837308 Change-Id: Iae3f1933b2c948d77c841e6f9bc8ce04bfddc67d Reviewed-on: https://chromium-review.googlesource.com/1056013 Commit-Queue: Ryan Sleevi <rsleevi@chromium.org> Reviewed-by: Asanka Herath <asanka@chromium.org> Cr-Commit-Position: refs/heads/master@{#558579}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .