chromium/net/dns/dns_server_iterator.cc

// Copyright 2020 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/dns/dns_server_iterator.h"

#include <optional>

#include "base/time/time.h"
#include "net/dns/dns_session.h"
#include "net/dns/resolve_context.h"

namespace net {
DnsServerIterator::DnsServerIterator(size_t nameservers_size,
                                     size_t starting_index,
                                     int max_times_returned,
                                     int max_failures,
                                     const ResolveContext* resolve_context,
                                     const DnsSession* session)
    :{}

DnsServerIterator::~DnsServerIterator() = default;

size_t DohDnsServerIterator::GetNextAttemptIndex() {}

bool DohDnsServerIterator::AttemptAvailable() {}

size_t ClassicDnsServerIterator::GetNextAttemptIndex() {}

bool ClassicDnsServerIterator::AttemptAvailable() {}

}  // namespace net