blob: 267a3ed9411c1e7c3d1a712e39a56f64db15aa3d [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.
#include "net/dns/public/dns_over_https_server_config.h"
namespace net {
DnsOverHttpsServerConfig::DnsOverHttpsServerConfig(
const std::string& server_template,
bool use_post)
: server_template(server_template), use_post(use_post) {}
bool DnsOverHttpsServerConfig::operator==(
const DnsOverHttpsServerConfig& other) const {
return server_template == other.server_template && use_post == other.use_post;
}
} // namespace net