From 4ccb65d258e35f27b6101e97d259f43bc1e4a148 Mon Sep 17 00:00:00 2001 From: Eugene Ostroukhov Date: Mon, 11 Nov 2024 18:25:19 -0800 Subject: [PATCH] fixup: la windows --- .../event_engine/posix_engine/posix_system_api.cc | 3 +-- .../event_engine/posix_engine/tcp_socket_utils.cc | 12 +++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/core/lib/event_engine/posix_engine/posix_system_api.cc b/src/core/lib/event_engine/posix_engine/posix_system_api.cc index c5e4fd48dc9f7..2720f65a2075b 100644 --- a/src/core/lib/event_engine/posix_engine/posix_system_api.cc +++ b/src/core/lib/event_engine/posix_engine/posix_system_api.cc @@ -14,8 +14,7 @@ #include "src/core/lib/event_engine/posix_engine/posix_system_api.h" -#include -#include +#include namespace grpc_event_engine { namespace experimental { diff --git a/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc b/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc index 92a98794a4e4a..3c66bd2af2ce0 100644 --- a/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +++ b/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc @@ -947,8 +947,7 @@ absl::Status PosixSocketWrapper::SetSocketRcvBuf( } absl::Status PosixSocketWrapper::SetSocketMutator( - const SystemApi& /*system_api*/, grpc_fd_usage /*usage*/, - grpc_socket_mutator* /*mutator*/) { + grpc_fd_usage /*usage*/, grpc_socket_mutator* /*mutator*/) { grpc_core::Crash("unimplemented"); } @@ -957,7 +956,8 @@ absl::Status PosixSocketWrapper::ApplySocketMutatorInOptions( grpc_core::Crash("unimplemented"); } -bool PosixSocketWrapper::IsSocketReusePortSupported() { +bool PosixSocketWrapper::IsSocketReusePortSupported( + const SystemApi& /*system_api*/) { grpc_core::Crash("unimplemented"); } @@ -966,7 +966,9 @@ bool PosixSocketWrapper::IsIpv6LoopbackAvailable() { } absl::StatusOr PosixSocketWrapper::CreateDualStackSocket( - std::function + const SystemApi& /*system_api*/, + std::function /* socket_factory */, const experimental::EventEngine::ResolvedAddress& /*addr*/, int /*type*/, int /*protocol*/, DSMode& /*dsmode*/) { @@ -975,7 +977,7 @@ absl::StatusOr PosixSocketWrapper::CreateDualStackSocket( absl::StatusOr PosixSocketWrapper::CreateAndPrepareTcpClientSocket( - const PosixTcpOptions& /*options*/, + const SystemApi& /*system_api*/, const PosixTcpOptions& /*options*/, const EventEngine::ResolvedAddress& /*target_addr*/) { grpc_core::Crash("unimplemented"); }