#include "components/policy/core/browser/browser_policy_connector_base.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "components/policy/core/common/chrome_schema.h"
#include "components/policy/core/common/configuration_policy_provider.h"
#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/policy_service.h"
#include "components/policy/core/common/policy_service_impl.h"
#include "ui/base/resource/resource_bundle.h"
namespace policy {
namespace {
bool g_created_policy_service = …;
ConfigurationPolicyProvider* g_testing_provider = …;
PolicyService* g_testing_policy_service = …;
}
BrowserPolicyConnectorBase::BrowserPolicyConnectorBase(
const HandlerListFactory& handler_list_factory) { … }
BrowserPolicyConnectorBase::~BrowserPolicyConnectorBase() { … }
void BrowserPolicyConnectorBase::Shutdown() { … }
const Schema& BrowserPolicyConnectorBase::GetChromeSchema() const { … }
CombinedSchemaRegistry* BrowserPolicyConnectorBase::GetSchemaRegistry() { … }
PolicyService* BrowserPolicyConnectorBase::GetPolicyService() { … }
bool BrowserPolicyConnectorBase::HasPolicyService() { … }
const ConfigurationPolicyHandlerList*
BrowserPolicyConnectorBase::GetHandlerList() const { … }
std::vector<ConfigurationPolicyProvider*>
BrowserPolicyConnectorBase::GetPolicyProviders() const { … }
void BrowserPolicyConnectorBase::SetPolicyProviderForTesting(
ConfigurationPolicyProvider* provider) { … }
void BrowserPolicyConnectorBase::SetPolicyServiceForTesting(
PolicyService* policy_service) { … }
void BrowserPolicyConnectorBase::NotifyWhenResourceBundleReady(
base::OnceClosure closure) { … }
ConfigurationPolicyProvider*
BrowserPolicyConnectorBase::GetPolicyProviderForTesting() { … }
std::vector<raw_ptr<ConfigurationPolicyProvider, VectorExperimental>>
BrowserPolicyConnectorBase::GetProvidersForPolicyService() { … }
std::vector<std::unique_ptr<ConfigurationPolicyProvider>>
BrowserPolicyConnectorBase::CreatePolicyProviders() { … }
void BrowserPolicyConnectorBase::OnResourceBundleCreated() { … }
}