Add presubmit to disallow absl in /third_party/quic/
Motivation was that the quic_test_client change in cl/286244043 broke the Chromium merge.
gfe-relnote: n/a, no behavior change
PiperOrigin-RevId: 286489674
Change-Id: I65067f43f04a986028d9415e0e4a2b01d3fec0a4
diff --git a/quic/qbone/platform/netlink_test.cc b/quic/qbone/platform/netlink_test.cc
index 04ce68c..d6a4adf 100644
--- a/quic/qbone/platform/netlink_test.cc
+++ b/quic/qbone/platform/netlink_test.cc
@@ -194,8 +194,8 @@
family = AF_INET6;
break;
default:
- QUIC_BUG << absl::StrCat("unexpected address family: ",
- ip.address_family());
+ QUIC_BUG << quiche::QuicheStrCat("unexpected address family: ",
+ ip.address_family());
family = AF_UNSPEC;
}
auto* msg = reinterpret_cast<struct ifaddrmsg*>(NLMSG_DATA(nlm));
diff --git a/quic/qbone/qbone_server_session.cc b/quic/qbone/qbone_server_session.cc
index c5456bf..6c5697b 100644
--- a/quic/qbone/qbone_server_session.cc
+++ b/quic/qbone/qbone_server_session.cc
@@ -20,7 +20,7 @@
const QuicSocketAddress& peer_address,
const QuicSocketAddress& self_address,
string* error_details) const {
- absl::string_view alpn;
+ quiche::QuicheStringPiece alpn;
chlo.GetStringPiece(quic::kALPN, &alpn);
if (alpn != QboneConstants::kQboneAlpn) {
*error_details = "ALPN-indicated protocol is not qbone";