chromium/extensions/browser/api/dns/dns_apitest.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 <memory>

#include "base/memory/ref_counted.h"
#include "base/strings/stringprintf.h"
#include "base/test/scoped_feature_list.h"
#include "base/values.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/test/test_utils.h"
#include "extensions/browser/api/dns/dns_api.h"
#include "extensions/browser/api_test_utils.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_builder.h"
#include "extensions/shell/test/shell_apitest.h"
#include "extensions/test/result_catcher.h"
#include "net/base/features.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_errors.h"
#include "net/base/network_anonymization_key.h"
#include "net/dns/mock_host_resolver.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "services/network/test/test_dns_util.h"
#include "url/origin.h"

namespace extensions {
namespace {
RunFunctionAndReturnSingleResult;

constexpr char kHostname[] =;
constexpr char kAddress[] =;
}  // namespace

class DnsApiTest : public ShellApiTest {};

IN_PROC_BROWSER_TEST_F(DnsApiTest, DnsResolveIPLiteral) {}

IN_PROC_BROWSER_TEST_F(DnsApiTest, DnsResolveHostname) {}

IN_PROC_BROWSER_TEST_F(DnsApiTest, DnsExtension) {}

}  // namespace extensions