blob: d98332258c3e1ea4a53748c5e424ae10081f8683 [file] [log] [blame]
// Copyright 2018 The Fuchsia 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 SRC_LEDGER_BIN_ENCRYPTION_IMPL_ENCRYPTION_SERVICE_FACTORY_IMPL_H_
#define SRC_LEDGER_BIN_ENCRYPTION_IMPL_ENCRYPTION_SERVICE_FACTORY_IMPL_H_
#include "src/ledger/bin/encryption/public/encryption_service_factory.h"
#include "src/ledger/bin/environment/environment.h"
namespace encryption {
class EncryptionServiceFactoryImpl : public EncryptionServiceFactory {
public:
explicit EncryptionServiceFactoryImpl(ledger::Environment* environment);
~EncryptionServiceFactoryImpl() override;
// EncryptionServiceFactory
std::unique_ptr<EncryptionService> MakeEncryptionService(
std::string namespace_id) override;
private:
ledger::Environment* const environment_;
};
} // namespace encryption
#endif // SRC_LEDGER_BIN_ENCRYPTION_IMPL_ENCRYPTION_SERVICE_FACTORY_IMPL_H_