chromium/components/named_mojo_ipc_server/named_mojo_server_endpoint_connector_linux.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <sys/socket.h>
#include <sys/types.h>

#include <memory>
#include <utility>

#include "base/check.h"
#include "base/files/file_descriptor_watcher_posix.h"
#include "base/functional/callback_forward.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/sequence_checker.h"
#include "base/task/sequenced_task_runner.h"
#include "base/thread_annotations.h"
#include "base/threading/sequence_bound.h"
#include "components/named_mojo_ipc_server/connection_info.h"
#include "components/named_mojo_ipc_server/endpoint_options.h"
#include "components/named_mojo_ipc_server/named_mojo_server_endpoint_connector.h"
#include "mojo/public/cpp/platform/platform_channel_server_endpoint.h"
#include "mojo/public/cpp/platform/socket_utils_posix.h"

namespace named_mojo_ipc_server {
namespace {

class NamedMojoServerEndpointConnectorLinux final
    : public NamedMojoServerEndpointConnector {};

NamedMojoServerEndpointConnectorLinux::NamedMojoServerEndpointConnectorLinux(
    const EndpointOptions& options,
    base::SequenceBound<Delegate> delegate)
    :{}

NamedMojoServerEndpointConnectorLinux::
    ~NamedMojoServerEndpointConnectorLinux() {}

void NamedMojoServerEndpointConnectorLinux::OnSocketReady() {}

bool NamedMojoServerEndpointConnectorLinux::TryStart() {}

}  // namespace

// static
base::SequenceBound<NamedMojoServerEndpointConnector>
NamedMojoServerEndpointConnector::Create(
    scoped_refptr<base::SequencedTaskRunner> io_sequence,
    const EndpointOptions& options,
    base::SequenceBound<Delegate> delegate) {}

}  // namespace named_mojo_ipc_server