blob: 194d78eab2fa58962f49aa7f53c3b4df0a8fa082 [file]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UPDATE_ENGINE_COMMON_CALL_WRAPPER_H_
#define UPDATE_ENGINE_COMMON_CALL_WRAPPER_H_
#include <base/files/file_path.h>
#include "update_engine/common/call_wrapper_interface.h"
namespace chromeos_update_engine {
class CallWrapper : public CallWrapperInterface {
public:
CallWrapper() = default;
CallWrapper(const CallWrapper&) = delete;
CallWrapper& operator=(const CallWrapper&) = delete;
~CallWrapper() = default;
// CallWrapperInterface overrides.
std::optional<int64_t> AmountOfFreeDiskSpace(
const base::FilePath& path) override;
};
} // namespace chromeos_update_engine
#endif // UPDATE_ENGINE_COMMON_CALL_WRAPPER_H_