blob: c4268b7fe046b814dccc1b34ba498da28da806b4 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// 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 <string>
namespace login_manager {
class MockUserPolicyServiceFactory : public UserPolicyServiceFactory {
public:
MockUserPolicyServiceFactory();
virtual ~MockUserPolicyServiceFactory();
MOCK_METHOD1(Create, PolicyService*(const std::string&));
};
} // namespace login_manager
#endif // LOGIN_MANAGER_MOCK_USER_POLICY_SERVICE_FACTORY_H_