#ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_BUILDER_H_
#define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_BUILDER_H_
#include <memory>
namespace user_manager {
class User;
}
namespace content {
class BrowserContext;
}
namespace policy {
class ChromeBrowserPolicyConnector;
class CloudPolicyStore;
class ConfigurationPolicyProvider;
class ProfilePolicyConnector;
class SchemaRegistry;
class CloudPolicyManager;
std::unique_ptr<ProfilePolicyConnector>
CreateProfilePolicyConnectorForBrowserContext(
SchemaRegistry* schema_registry,
CloudPolicyManager* cloud_policy_manager,
ConfigurationPolicyProvider* user_policy_provider,
policy::ChromeBrowserPolicyConnector* browser_policy_connector,
bool force_immediate_load,
content::BrowserContext* context);
std::unique_ptr<ProfilePolicyConnector> CreateAndInitProfilePolicyConnector(
SchemaRegistry* schema_registry,
policy::ChromeBrowserPolicyConnector* browser_policy_connector,
ConfigurationPolicyProvider* policy_provider,
const CloudPolicyStore* policy_store,
bool force_immediate_load,
const user_manager::User* user = nullptr);
void PushProfilePolicyConnectorProviderForTesting(
ConfigurationPolicyProvider* provider);
}
#endif