// Copyright 2017 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/socket.h" #include <set> #include "net/base/net_errors.h" namespace net { Socket::Socket() = default; Socket::~Socket() = default; int Socket::ReadIfReady(IOBuffer* buf, int buf_len, CompletionOnceCallback callback) { … } int Socket::CancelReadIfReady() { … } void Socket::SetDnsAliases(std::set<std::string> aliases) { … } const std::set<std::string>& Socket::GetDnsAliases() const { … } } // namespace net