#include "chrome/browser/net/default_dns_over_https_config_source.h"
#include <string>
#include "build/build_config.h"
#include "chrome/browser/net/secure_dns_config.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
DefaultDnsOverHttpsConfigSource::DefaultDnsOverHttpsConfigSource(
PrefService* local_state,
bool set_up_pref_defaults) { … }
DefaultDnsOverHttpsConfigSource::~DefaultDnsOverHttpsConfigSource() = default;
void DefaultDnsOverHttpsConfigSource::RegisterPrefs(
PrefRegistrySimple* registry) { … }
std::string DefaultDnsOverHttpsConfigSource::GetDnsOverHttpsMode() const { … }
std::string DefaultDnsOverHttpsConfigSource::GetDnsOverHttpsTemplates() const { … }
bool DefaultDnsOverHttpsConfigSource::IsConfigManaged() const { … }
void DefaultDnsOverHttpsConfigSource::SetDohChangeCallback(
base::RepeatingClosure callback) { … }