chromium/chrome/browser/net/default_dns_over_https_config_source.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_NET_DEFAULT_DNS_OVER_HTTPS_CONFIG_SOURCE_H_
#define CHROME_BROWSER_NET_DEFAULT_DNS_OVER_HTTPS_CONFIG_SOURCE_H_

#include <string>

#include "base/memory/raw_ptr.h"
#include "chrome/browser/net/dns_over_https_config_source.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_change_registrar.h"

class PrefRegistrySimple;
class PrefService;

// Default, cross-platfrom implementation of DnsOverHttpsConfigSource that
// listens to local_state prefs to determine the DNS-over-HTTPS configuration.
class DefaultDnsOverHttpsConfigSource : public DnsOverHttpsConfigSource {};
#endif  // CHROME_BROWSER_NET_DEFAULT_DNS_OVER_HTTPS_CONFIG_SOURCE_H_