blob: 7e2d42ea0366a5547ba2898f357fc3d18ca8a645 [file]
// Copyright 2020 The Fuchsia 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 SRC_DEVELOPER_FORENSICS_LAST_REBOOT_LAST_REBOOT_INFO_PROVIDER_H_
#define SRC_DEVELOPER_FORENSICS_LAST_REBOOT_LAST_REBOOT_INFO_PROVIDER_H_
#include <fuchsia/feedback/cpp/fidl.h>
#include "src/developer/forensics/feedback/reboot_log/final_shutdown_info.h"
namespace forensics {
namespace last_reboot {
class LastRebootInfoProvider : public fuchsia::feedback::LastRebootInfoProvider {
public:
explicit LastRebootInfoProvider(const feedback::FinalShutdownInfo& final_shutdown_info);
// |fuchsia::feedback::LastRebootInfoProvider|
void Get(GetCallback callback) override;
private:
fuchsia::feedback::LastReboot last_reboot_;
};
} // namespace last_reboot
} // namespace forensics
#endif // SRC_DEVELOPER_FORENSICS_LAST_REBOOT_LAST_REBOOT_INFO_PROVIDER_H_