diff options
Diffstat (limited to 'common/dlcservice_stub.h')
-rw-r--r-- | common/dlcservice_stub.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/dlcservice_stub.h b/common/dlcservice_stub.h index 4df0186c..2643daf4 100644 --- a/common/dlcservice_stub.h +++ b/common/dlcservice_stub.h @@ -17,6 +17,7 @@ #ifndef UPDATE_ENGINE_COMMON_DLCSERVICE_STUB_H_ #define UPDATE_ENGINE_COMMON_DLCSERVICE_STUB_H_ +#include <memory> #include <string> #include <vector> @@ -39,6 +40,18 @@ class DlcServiceStub : public DlcServiceInterface { bool UpdateCompleted(const std::vector<std::string>& dlc_ids) override; }; +class DlcUtilsStub : public DlcUtilsInterface { + public: + DlcUtilsStub() = default; + DlcUtilsStub(const DlcUtilsStub&) = delete; + DlcUtilsStub& operator=(const DlcUtilsStub&) = delete; + + ~DlcUtilsStub() = default; + + std::shared_ptr<imageloader::Manifest> GetDlcManifest( + const std::string& id, const base::FilePath& dlc_manifest_path) override; +}; + } // namespace chromeos_update_engine #endif // UPDATE_ENGINE_COMMON_DLCSERVICE_STUB_H_ |