blob: 0e2e7713eb4da1e9bab178f110713c7452855a2c [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_DNS_PUBLIC_DNS_OVER_HTTPS_SERVER_CONFIG_H_
#define NET_DNS_PUBLIC_DNS_OVER_HTTPS_SERVER_CONFIG_H_
#include <string>
#include "net/base/net_export.h"
namespace net {
// Simple representation of a DoH server for use in configurations.
struct NET_EXPORT DnsOverHttpsServerConfig {
DnsOverHttpsServerConfig(const std::string& server_template, bool use_post);
bool operator==(const DnsOverHttpsServerConfig& other) const;
std::string server_template;
bool use_post;
};
} // namespace net
#endif // NET_DNS_PUBLIC_DNS_OVER_HTTPS_SERVER_CONFIG_H_