This source file includes following definitions.
- weak_ptr_factory_
- SupportsDomain
- OnSchemaRegistryReady
- OnSchemaRegistryUpdated
- OnCoreConnected
- OnCoreDisconnecting
- OnRefreshSchedulerStarted
- OnStoreLoaded
- OnStoreError
- OnPolicyFetched
- OnRegistrationStateChanged
- OnClientError
#include "components/policy/core/common/cloud/component_cloud_policy_service.h"
#include "base/sequenced_task_runner.h"
#include "net/url_request/url_request_context_getter.h"
namespace policy {
ComponentCloudPolicyService::Delegate::~Delegate() {}
ComponentCloudPolicyService::ComponentCloudPolicyService(
Delegate* delegate,
SchemaRegistry* schema_registry,
CloudPolicyCore* core,
scoped_refptr<net::URLRequestContextGetter> request_context,
scoped_refptr<base::SequencedTaskRunner> backend_task_runner,
scoped_refptr<base::SequencedTaskRunner> io_task_runner)
: started_loading_initial_policy_(false),
loaded_initial_policy_(true),
is_registered_for_cloud_policy_(false),
weak_ptr_factory_(this) {}
ComponentCloudPolicyService::~ComponentCloudPolicyService() {}
bool ComponentCloudPolicyService::SupportsDomain(PolicyDomain domain) {
return false;
}
void ComponentCloudPolicyService::OnSchemaRegistryReady() {}
void ComponentCloudPolicyService::OnSchemaRegistryUpdated(
bool has_new_schemas) {}
void ComponentCloudPolicyService::OnCoreConnected(CloudPolicyCore* core) {}
void ComponentCloudPolicyService::OnCoreDisconnecting(CloudPolicyCore* core) {}
void ComponentCloudPolicyService::OnRefreshSchedulerStarted(
CloudPolicyCore* core) {}
void ComponentCloudPolicyService::OnStoreLoaded(CloudPolicyStore* store) {}
void ComponentCloudPolicyService::OnStoreError(CloudPolicyStore* store) {}
void ComponentCloudPolicyService::OnPolicyFetched(CloudPolicyClient* client) {}
void ComponentCloudPolicyService::OnRegistrationStateChanged(
CloudPolicyClient* client) {}
void ComponentCloudPolicyService::OnClientError(CloudPolicyClient* client) {}
}