commit | 576e8a948acb2d23786748d78ad7eb017a87e4af | [log] [tgz] |
---|---|---|
author | bnc <bnc@google.com> | Fri Mar 19 10:01:17 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Mar 19 10:03:36 2021 -0700 |
tree | 63430f6f2672a41e91a9c69fa3d12c51119d565c | |
parent | c6cae4a3703a487d6482ab69711c83b07830fbe3 [diff] |
Add quiche_string_view.h so that absl::string_view can be used in Chromium. absl::string_view is used extensively in QUICHE, and it is used in Chromium //net code only where it is absolutely necessary to interface with QUICHE. However, presubmit rules do not allow the header to be included in Chromium, except for QUICHE files that live in //net/third_party/quiche/src and form a separate compilation unit. Therefore we need a platform file to include absl/string_view.h. This file does not need to have a corresponding impl. There was such file at quiche/common/platform/api/quiche_string_piece.h, which has been removed at https://quiche.googlesource.com/quiche/+/ccf4ebe76fc5c3a176f6128f201801046a686a29 This CL reinstates the include portion of that file, with a more appropriate name. PiperOrigin-RevId: 363913393 Change-Id: I86c445d3f6f2d8aab15f585590a55b4f921af1ed
QUICHE (QUIC, Http/2, Etc) is Google‘s implementation of QUIC and related protocols. It powers Chromium as well as Google’s QUIC servers and some other projects. QUICHE is only supported on little-endian platforms.
Code can be viewed in CodeSearch in Quiche and is imported into Chromium.