blob: 9842a6b1a6b6ad336e08c5cb864e105f5b15f125 [file] [log] [blame]
// Copyright 2021 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_FAKE_PLATFORM_REAL_FAKE_MOUNT_MAPPING_REDIRECT_FACTORY_H_
#define CRYPTOHOME_FAKE_PLATFORM_REAL_FAKE_MOUNT_MAPPING_REDIRECT_FACTORY_H_
#include <base/files/file_path.h>
#include "cryptohome/fake_platform/fake_mount_mapping_redirect_factory.h"
namespace cryptohome {
// Real implementation of the factory creates a new unique directory on tmpfs.
class RealFakeMountMappingRedirectFactory final
: public FakeMountMappingRedirectFactory {
public:
RealFakeMountMappingRedirectFactory() = default;
~RealFakeMountMappingRedirectFactory() override = default;
base::FilePath Create() override;
};
} // namespace cryptohome
#endif // CRYPTOHOME_FAKE_PLATFORM_REAL_FAKE_MOUNT_MAPPING_REDIRECT_FACTORY_H_