#include "components/reporting/util/status_macros.h"
#include <optional>
#include <utility>
#include "base/types/expected.h"
#include "components/reporting/util/status.h"
namespace reporting::internal {
std::optional<Status> ShouldReturnStatus(const Status& status) { … }
std::optional<Status> ShouldReturnStatus(Status&& status) { … }
std::optional<base::unexpected<Status>> ShouldReturnStatus(
const base::unexpected<Status>& status) { … }
std::optional<base::unexpected<Status>> ShouldReturnStatus(
base::unexpected<Status>&& status) { … }
}