#ifndef CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_
#define CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_
#include "extensions/browser/management_policy.h"
namespace extensions {
class Blacklist;
class Extension;
class ExtensionPrefs;
class StandardManagementPolicyProvider : public ManagementPolicy::Provider {
public:
explicit StandardManagementPolicyProvider(ExtensionPrefs* prefs);
virtual ~StandardManagementPolicyProvider();
virtual std::string GetDebugPolicyProviderName() const OVERRIDE;
virtual bool UserMayLoad(const Extension* extension,
base::string16* error) const OVERRIDE;
virtual bool UserMayModifySettings(const Extension* extension,
base::string16* error) const OVERRIDE;
virtual bool MustRemainEnabled(const Extension* extension,
base::string16* error) const OVERRIDE;
private:
ExtensionPrefs* const prefs_;
};
}
#endif