This source file includes following definitions.
- Init
- InitForTesting
- Shutdown
- IsManaged
- GetManagementDomain
#include "chrome/browser/policy/profile_policy_connector.h"
#include "components/policy/core/common/policy_service_stub.h"
namespace policy {
ProfilePolicyConnector::ProfilePolicyConnector() {}
ProfilePolicyConnector::~ProfilePolicyConnector() {}
void ProfilePolicyConnector::Init(
bool force_immediate_load,
SchemaRegistry* schema_registry,
CloudPolicyManager* user_cloud_policy_manager) {
policy_service_.reset(new PolicyServiceStub());
}
void ProfilePolicyConnector::InitForTesting(scoped_ptr<PolicyService> service) {
policy_service_ = service.Pass();
}
void ProfilePolicyConnector::Shutdown() {}
bool ProfilePolicyConnector::IsManaged() const {
return false;
}
std::string ProfilePolicyConnector::GetManagementDomain() const {
return "";
}
}