blob: 446abe04b0ed3804d310e8ba7ee57c5b8583de51 [file] [log] [blame]
// 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/reboot_log.h"
namespace forensics {
namespace last_reboot {
class LastRebootInfoProvider : public fuchsia::feedback::LastRebootInfoProvider {
public:
LastRebootInfoProvider(const feedback::RebootLog& reboot_log);
// |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_