blob: aa55c80c337e541410a83c11450d0db38d91817a [file] [log] [blame]
// Copyright 2022 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 CRYPTOHOME_USER_SESSION_MOCK_USER_SESSION_FACTORY_H_
#define CRYPTOHOME_USER_SESSION_MOCK_USER_SESSION_FACTORY_H_
#include <memory>
#include <base/memory/ref_counted.h>
#include "cryptohome/user_session/user_session.h"
#include "cryptohome/user_session/user_session_factory.h"
namespace cryptohome {
class MockUserSessionFactory : public UserSessionFactory {
public:
MockUserSessionFactory() = default;
~MockUserSessionFactory() override = default;
MOCK_METHOD(scoped_refptr<UserSession>, New, (bool, bool), (override));
};
} // namespace cryptohome
#endif // CRYPTOHOME_USER_SESSION_MOCK_USER_SESSION_FACTORY_H_