diff options
Diffstat (limited to 'chromium/net/third_party/quiche/src/quic/platform/api/quic_udp_socket_platform_api.h')
-rw-r--r-- | chromium/net/third_party/quiche/src/quic/platform/api/quic_udp_socket_platform_api.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/chromium/net/third_party/quiche/src/quic/platform/api/quic_udp_socket_platform_api.h b/chromium/net/third_party/quiche/src/quic/platform/api/quic_udp_socket_platform_api.h deleted file mode 100644 index 10307efc298..00000000000 --- a/chromium/net/third_party/quiche/src/quic/platform/api/quic_udp_socket_platform_api.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2019 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_UDP_SOCKET_PLATFORM_API_H_ -#define QUICHE_QUIC_PLATFORM_API_QUIC_UDP_SOCKET_PLATFORM_API_H_ - -#include "net/quic/platform/impl/quic_udp_socket_platform_impl.h" - -namespace quic { - -const size_t kCmsgSpaceForGooglePacketHeader = - kCmsgSpaceForGooglePacketHeaderImpl; - -inline bool GetGooglePacketHeadersFromControlMessage( - struct ::cmsghdr* cmsg, - char** packet_headers, - size_t* packet_headers_len) { - return GetGooglePacketHeadersFromControlMessageImpl(cmsg, packet_headers, - packet_headers_len); -} - -inline void SetGoogleSocketOptions(int fd) { - SetGoogleSocketOptionsImpl(fd); -} - -} // namespace quic - -#endif // QUICHE_QUIC_PLATFORM_API_QUIC_UDP_SOCKET_PLATFORM_API_H_ |