blob: 22af64555795efdbc07d5b398cba5d88949c74a3 [file] [log] [blame]
// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DIAGNOSTICS_CROS_HEALTHD_ROUTINES_URANDOM_URANDOM_H_
#define DIAGNOSTICS_CROS_HEALTHD_ROUTINES_URANDOM_URANDOM_H_
#include <memory>
#include <optional>
#include <base/time/time.h>
#include "diagnostics/cros_healthd/routines/diag_routine.h"
namespace diagnostics {
// Fleet-wide default value for the urandom routine's parameter.
// TODO(crbug/1131609): get a better default value with some rationale behind
// it.
extern const base::TimeDelta kUrandomDefaultLength;
std::unique_ptr<DiagnosticRoutine> CreateUrandomRoutine(
const std::optional<base::TimeDelta>& length_seconds);
} // namespace diagnostics
#endif // DIAGNOSTICS_CROS_HEALTHD_ROUTINES_URANDOM_URANDOM_H_