blob: 7d89034703b49f3985f7267ec2163e9ddc956768 [file]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BSSL_FILLINS_PATH_SERVICE_H
#define BSSL_FILLINS_PATH_SERVICE_H
#include <openssl/base.h>
#include <string>
namespace bssl {
namespace fillins {
class OPENSSL_EXPORT FilePath {
public:
FilePath();
FilePath(const std::string &path);
const std::string &value() const;
FilePath AppendASCII(const std::string &ascii_path_element) const;
private:
std::string path_;
};
enum PathKey {
DIR_SOURCE_ROOT = 0,
};
class OPENSSL_EXPORT PathService {
public:
static void Get(PathKey key, FilePath *out);
};
} // namespace fillins
} // namespace bssl
#endif // BSSL_FILLINS_PATH_SERVICE_H