#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_STUB_H_
#define COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_STUB_H_
#include "base/basictypes.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_service.h"
#include "components/policy/policy_export.h"
namespace policy {
class POLICY_EXPORT PolicyServiceStub : public PolicyService {
public:
PolicyServiceStub();
virtual ~PolicyServiceStub();
virtual void AddObserver(PolicyDomain domain,
Observer* observer) OVERRIDE;
virtual void RemoveObserver(PolicyDomain domain,
Observer* observer) OVERRIDE;
virtual const PolicyMap& GetPolicies(
const PolicyNamespace& ns) const OVERRIDE;
virtual bool IsInitializationComplete(PolicyDomain domain) const OVERRIDE;
virtual void RefreshPolicies(const base::Closure& callback) OVERRIDE;
private:
const PolicyMap kEmpty_;
DISALLOW_COPY_AND_ASSIGN(PolicyServiceStub);
};
}
#endif