chromium/net/socket/unix_domain_client_socket_posix.cc

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

#include "net/socket/unix_domain_client_socket_posix.h"

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

#include <memory>
#include <utility>

#include "base/check_op.h"
#include "base/notreached.h"
#include "build/build_config.h"
#include "net/base/net_errors.h"
#include "net/base/sockaddr_storage.h"
#include "net/base/sockaddr_util_posix.h"
#include "net/socket/socket_posix.h"
#include "net/traffic_annotation/network_traffic_annotation.h"

namespace net {

UnixDomainClientSocket::UnixDomainClientSocket(const std::string& socket_path,
                                               bool use_abstract_namespace)
    :{}

UnixDomainClientSocket::UnixDomainClientSocket(
    std::unique_ptr<SocketPosix> socket)
    :{}

UnixDomainClientSocket::~UnixDomainClientSocket() {}

int UnixDomainClientSocket::Connect(CompletionOnceCallback callback) {}

void UnixDomainClientSocket::Disconnect() {}

bool UnixDomainClientSocket::IsConnected() const {}

bool UnixDomainClientSocket::IsConnectedAndIdle() const {}

int UnixDomainClientSocket::GetPeerAddress(IPEndPoint* address) const {}

int UnixDomainClientSocket::GetLocalAddress(IPEndPoint* address) const {}

const NetLogWithSource& UnixDomainClientSocket::NetLog() const {}

bool UnixDomainClientSocket::WasEverUsed() const {}

NextProto UnixDomainClientSocket::GetNegotiatedProtocol() const {}

bool UnixDomainClientSocket::GetSSLInfo(SSLInfo* ssl_info) {}

int64_t UnixDomainClientSocket::GetTotalReceivedBytes() const {}

void UnixDomainClientSocket::ApplySocketTag(const SocketTag& tag) {}

int UnixDomainClientSocket::Read(IOBuffer* buf,
                                 int buf_len,
                                 CompletionOnceCallback callback) {}

int UnixDomainClientSocket::Write(
    IOBuffer* buf,
    int buf_len,
    CompletionOnceCallback callback,
    const NetworkTrafficAnnotationTag& traffic_annotation) {}

int UnixDomainClientSocket::SetReceiveBufferSize(int32_t size) {}

int UnixDomainClientSocket::SetSendBufferSize(int32_t size) {}

SocketDescriptor UnixDomainClientSocket::ReleaseConnectedSocket() {}

}  // namespace net