1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/dns/public/dns_over_https_server_config.h"
6 
7 namespace net {
8 
DnsOverHttpsServerConfig(const std::string & server_template,bool use_post)9 DnsOverHttpsServerConfig::DnsOverHttpsServerConfig(
10     const std::string& server_template,
11     bool use_post)
12     : server_template(server_template), use_post(use_post) {}
13 
operator ==(const DnsOverHttpsServerConfig & other) const14 bool DnsOverHttpsServerConfig::operator==(
15     const DnsOverHttpsServerConfig& other) const {
16   return server_template == other.server_template && use_post == other.use_post;
17 }
18 
19 }  // namespace net
20