blob: ccc501436a6aae6bfe6d0eb5fd07721f23dc7727 [file] [log] [blame]
// 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 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 {
BSSL_TEST_DATA_ROOT = 0,
};
class PathService {
public:
static void Get(PathKey key, FilePath *out);
};
} // namespace fillins
} // namespace bssl
#endif // BSSL_FILLINS_PATH_SERVICE_H