#include "services/network/http_server_properties_pref_delegate.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "base/values.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
const char kPrefPath[] = …;
namespace network {
HttpServerPropertiesPrefDelegate::HttpServerPropertiesPrefDelegate(
PrefService* pref_service)
: … { … }
HttpServerPropertiesPrefDelegate::~HttpServerPropertiesPrefDelegate() { … }
void HttpServerPropertiesPrefDelegate::RegisterPrefs(
PrefRegistrySimple* pref_registry) { … }
const base::Value::Dict& HttpServerPropertiesPrefDelegate::GetServerProperties()
const { … }
void HttpServerPropertiesPrefDelegate::SetServerProperties(
base::Value::Dict dict,
base::OnceClosure callback) { … }
void HttpServerPropertiesPrefDelegate::WaitForPrefLoad(
base::OnceClosure callback) { … }
}