#ifndef COMPONENTS_POLICY_CORE_COMMON_PROXY_POLICY_PROVIDER_H_
#define COMPONENTS_POLICY_CORE_COMMON_PROXY_POLICY_PROVIDER_H_
#include "base/basictypes.h"
#include "components/policy/core/common/configuration_policy_provider.h"
#include "components/policy/policy_export.h"
namespace policy {
class POLICY_EXPORT ProxyPolicyProvider
: public ConfigurationPolicyProvider,
public ConfigurationPolicyProvider::Observer {
public:
ProxyPolicyProvider();
virtual ~ProxyPolicyProvider();
void SetDelegate(ConfigurationPolicyProvider* delegate);
virtual void Shutdown() OVERRIDE;
virtual void RefreshPolicies() OVERRIDE;
virtual void OnUpdatePolicy(ConfigurationPolicyProvider* provider) OVERRIDE;
private:
ConfigurationPolicyProvider* delegate_;
DISALLOW_COPY_AND_ASSIGN(ProxyPolicyProvider);
};
}
#endif