blob: 2424f538db96ca0747e722903bdbcb40d8600a6d [file] [log] [blame]
// Copyright 2012 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LOGIN_MANAGER_MOCK_USER_POLICY_SERVICE_FACTORY_H_
#define LOGIN_MANAGER_MOCK_USER_POLICY_SERVICE_FACTORY_H_
#include "login_manager/user_policy_service_factory.h"
#include <memory>
#include <string>
#include <base/files/file_path.h>
namespace login_manager {
class MockUserPolicyServiceFactory : public UserPolicyServiceFactory {
public:
MockUserPolicyServiceFactory();
~MockUserPolicyServiceFactory() override;
MOCK_METHOD(std::unique_ptr<PolicyService>,
Create,
(const std::string&),
(override));
};
} // namespace login_manager
#endif // LOGIN_MANAGER_MOCK_USER_POLICY_SERVICE_FACTORY_H_