blob: 2906366f9de507052268da2d7554116e866adca1 [file]
// Copyright 2018 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.
#include "src/developer/forensics/testing/fakes/last_reboot_info_provider.h"
#include <fuchsia/feedback/cpp/fidl.h>
namespace forensics {
namespace fakes {
using namespace fuchsia::feedback;
void LastRebootInfoProvider::Get(GetCallback callback) {
LastReboot last_reboot;
last_reboot.set_graceful(true).set_uptime(zx::hour(1).get());
callback(std::move(last_reboot));
}
} // namespace fakes
} // namespace forensics