Replace QuicheStringPiece with absl::string_view
PiperOrigin-RevId: 336343743
Change-Id: I6aa312bcd9c4f0281e01eb4699bfb906e6021549
diff --git a/quic/qbone/qbone_server_session.h b/quic/qbone/qbone_server_session.h
index fee1c74..63a0d8d 100644
--- a/quic/qbone/qbone_server_session.h
+++ b/quic/qbone/qbone_server_session.h
@@ -5,6 +5,7 @@
#ifndef QUICHE_QUIC_QBONE_QBONE_SERVER_SESSION_H_
#define QUICHE_QUIC_QBONE_QBONE_SERVER_SESSION_H_
+#include "absl/strings/string_view.h"
#include "net/third_party/quiche/src/quic/core/quic_crypto_server_stream_base.h"
#include "net/third_party/quiche/src/quic/core/quic_crypto_stream.h"
#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
@@ -13,7 +14,6 @@
#include "net/third_party/quiche/src/quic/qbone/qbone_packet_processor.h"
#include "net/third_party/quiche/src/quic/qbone/qbone_packet_writer.h"
#include "net/third_party/quiche/src/quic/qbone/qbone_session_base.h"
-#include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.h"
namespace quic {
@@ -53,12 +53,12 @@
virtual bool SendClientRequest(const QboneClientRequest& request);
- void ProcessPacketFromNetwork(quiche::QuicheStringPiece packet) override;
- void ProcessPacketFromPeer(quiche::QuicheStringPiece packet) override;
+ void ProcessPacketFromNetwork(absl::string_view packet) override;
+ void ProcessPacketFromPeer(absl::string_view packet) override;
// QbonePacketProcessor::OutputInterface implementation.
- void SendPacketToClient(quiche::QuicheStringPiece packet) override;
- void SendPacketToNetwork(quiche::QuicheStringPiece packet) override;
+ void SendPacketToClient(absl::string_view packet) override;
+ void SendPacketToNetwork(absl::string_view packet) override;
// QbonePacketProcessor::StatsInterface implementation.
void OnPacketForwarded(QbonePacketProcessor::Direction direction) override {}