Use quiche string libraries in third_party/quic/platform
gfe-relnote: n/a, no functional change
PiperOrigin-RevId: 285416404
Change-Id: I5dc07c7b2e12a3d6bbc0d686a580fb262db1ecdc
diff --git a/quic/platform/api/quic_mem_slice_span.h b/quic/platform/api/quic_mem_slice_span.h
index 62cec48..a1e0bd0 100644
--- a/quic/platform/api/quic_mem_slice_span.h
+++ b/quic/platform/api/quic_mem_slice_span.h
@@ -7,6 +7,7 @@
#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
#include "net/quic/platform/impl/quic_mem_slice_span_impl.h"
+#include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.h"
namespace quic {
@@ -37,8 +38,9 @@
return impl_.ConsumeAll(consume);
}
- // Return data of the span at |index| by the form of a QuicStringPiece.
- QuicStringPiece GetData(int index) { return impl_.GetData(index); }
+ // Return data of the span at |index| by the form of a
+ // quiche::QuicheStringPiece.
+ quiche::QuicheStringPiece GetData(int index) { return impl_.GetData(index); }
// Return the total length of the data inside the span.
QuicByteCount total_length() { return impl_.total_length(); }