blob: 7855539e2a802eab417e6f0f91423cff4420c35a [file] [log] [blame]
// Copyright 2018 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 DLCSERVICE_UTILS_H_
#define DLCSERVICE_UTILS_H_
#include <string>
#include <base/files/file_path.h>
namespace dlcservice {
namespace utils {
// Returns the path to a DLC module.
base::FilePath GetDlcModulePath(const base::FilePath& dlc_module_root_path,
const std::string& dlc_module_id);
// Returns the path to a DLC module image.
base::FilePath GetDlcModuleImagePath(const base::FilePath& dlc_module_root_path,
const std::string& dlc_module_id,
int current_slot);
} // namespace utils
} // namespace dlcservice
#endif // DLCSERVICE_UTILS_H_