Skip to content

Commit

Permalink
fixup: la windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Nov 12, 2024
1 parent 54670f8 commit 4ccb65d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/core/lib/event_engine/posix_engine/posix_system_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

#include "src/core/lib/event_engine/posix_engine/posix_system_api.h"

#include <fcntl.h>
#include <unistd.h>
#include <grpc/support/port_platform.h>

namespace grpc_event_engine {
namespace experimental {
Expand Down
12 changes: 7 additions & 5 deletions src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand All @@ -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");
}

Expand All @@ -966,7 +966,9 @@ bool PosixSocketWrapper::IsIpv6LoopbackAvailable() {
}

absl::StatusOr<PosixSocketWrapper> PosixSocketWrapper::CreateDualStackSocket(
std::function<int(int /*domain*/, int /*type*/, int /*protocol*/)>
const SystemApi& /*system_api*/,
std::function<FileDescriptor(int /*domain*/, int /*type*/,
int /*protocol*/)>
/* socket_factory */,
const experimental::EventEngine::ResolvedAddress& /*addr*/, int /*type*/,
int /*protocol*/, DSMode& /*dsmode*/) {
Expand All @@ -975,7 +977,7 @@ absl::StatusOr<PosixSocketWrapper> PosixSocketWrapper::CreateDualStackSocket(

absl::StatusOr<PosixSocketWrapper::PosixSocketCreateResult>
PosixSocketWrapper::CreateAndPrepareTcpClientSocket(
const PosixTcpOptions& /*options*/,
const SystemApi& /*system_api*/, const PosixTcpOptions& /*options*/,
const EventEngine::ResolvedAddress& /*target_addr*/) {
grpc_core::Crash("unimplemented");
}
Expand Down

0 comments on commit 4ccb65d

Please sign in to comment.